mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
formatting cleanup
This commit is contained in:
parent
73146fcf90
commit
9ed0427def
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ abstract class ZLTextViewBase extends ZLView {
|
||||||
|
|
||||||
void applyControl(ZLTextControlElement control) {
|
void applyControl(ZLTextControlElement control) {
|
||||||
if (control.IsStart) {
|
if (control.IsStart) {
|
||||||
ZLTextStyleDecoration decoration = ZLTextStyleCollection.Instance().getDecoration(control.Kind);
|
final ZLTextStyleDecoration decoration =
|
||||||
|
ZLTextStyleCollection.Instance().getDecoration(control.Kind);
|
||||||
if (control instanceof ZLTextHyperlinkControlElement) {
|
if (control instanceof ZLTextHyperlinkControlElement) {
|
||||||
setTextStyle(decoration.createDecoratedStyle(myTextStyle, ((ZLTextHyperlinkControlElement)control).Hyperlink));
|
setTextStyle(decoration.createDecoratedStyle(myTextStyle, ((ZLTextHyperlinkControlElement)control).Hyperlink));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue