mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 02:39:23 +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) {
|
||||
if (control.IsStart) {
|
||||
ZLTextStyleDecoration decoration = ZLTextStyleCollection.Instance().getDecoration(control.Kind);
|
||||
final ZLTextStyleDecoration decoration =
|
||||
ZLTextStyleCollection.Instance().getDecoration(control.Kind);
|
||||
if (control instanceof ZLTextHyperlinkControlElement) {
|
||||
setTextStyle(decoration.createDecoratedStyle(myTextStyle, ((ZLTextHyperlinkControlElement)control).Hyperlink));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue