Skip to content
Snippets Groups Projects
Commit e2e71af4 authored by Alex Ksandra's avatar Alex Ksandra
Browse files

Resizing the game no longer snags mouse focus from the game.

parent 0b86960f
No related branches found
No related tags found
1 merge request!100yay more typo fixes
......@@ -415,7 +415,7 @@ function _M:resizeIconsHotkeysToolbar()
game:resizeMapViewport(game.w, self.map_h_stop)
self.logdisplay.display_y = self.logdisplay.display_y + self.map_h_stop_up - oldstop
profile.chat.display_y = profile.chat.display_y + self.map_h_stop_up - oldstop
game:setupMouse()
game:setupMouse(true)
return
end
......@@ -423,7 +423,7 @@ function _M:resizeIconsHotkeysToolbar()
game:resizeMapViewport(game.w, self.map_h_stop)
self.logdisplay.display_y = self.logdisplay.display_y + self.map_h_stop_up - oldstop
profile.chat.display_y = profile.chat.display_y + self.map_h_stop_up - oldstop
game:setupMouse()
game:setupMouse(true)
end
self.hotkeys_display = config.settings.tome.hotkey_icons and self.hotkeys_display_icons or self.hotkeys_display_text
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment