Skip to content

Commit

Permalink
make fullscreen wiki work better
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Dec 24, 2023
1 parent 020a562 commit a87d4b8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/wiki/wiki.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ function Wiki.open_wiki(player)
main_frame.auto_center = true
if fullscreen then
main_frame.style.horizontally_squashable = true
main_frame.style.horizontally_stretchable = false
main_frame.style.vertically_squashable = true
main_frame.style.natural_width = 5000
main_frame.style.natural_height = 5000
main_frame.style.vertically_stretchable = false
main_frame.style.natural_width = 16000
main_frame.style.natural_height = 16000
main_frame.bring_to_front()
else
main_frame.style.width = 1050
main_frame.style.minimal_height = 700
Expand Down

0 comments on commit a87d4b8

Please sign in to comment.