Skip to content

Commit

Permalink
Merge pull request #369 from timbze/bugfix/links_X_button_in_wrong_lo…
Browse files Browse the repository at this point in the history
…cation_maximized_mode

Fixed: In maximized mode, links window X button was in wrong location…
  • Loading branch information
tuomas2 authored May 24, 2019
2 parents 6e2af1a + 4b2de46 commit 1c5bce4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ class DocumentWebViewBuilder @Inject constructor(
if (isSingleWindow) -mainBibleActivity.bottomOffset2
else (
if(mainBibleActivity.isSplitVertically) {
if(idx == 0) mainBibleActivity.topOffset2 else 0.0F
if(idx == 0 && !windowControl.windowRepository.isMaximisedState)
mainBibleActivity.topOffset2
else 0.0F
}
else mainBibleActivity.topOffset2
)
Expand Down

0 comments on commit 1c5bce4

Please sign in to comment.