-
-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: fix getMainWindowSize values if console tab is not in focus (hidden) #6438
Conversation
use old values if console is hidden
Hey there! Thanks for helping Mudlet improve. 🌟 Test versionsYou can directly test the changes here:
No need to install anything - just unzip and run. |
@gesslar does this work better for your UI? |
Does the link to the PTB above always point to the latest commit build? I can dl it and try it. |
I'm testing it now to see what happens when I switch back. |
Seems to be working! 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Edru2!
add suggested change Co-authored-by: Vadim Peretokin <vperetokin@hey.com>
The lua code put in there was trying to use this new event to force a redraw of Geyser widgets when a profile hidden during multi-playing when multi-view was not in use. This was an attempt to solve Mudlet#5960. However it seems the problem was with faulty reading of the `TMainConsole` size whilst it was being shown. That appears to have been solved by a different PR: Mudlet#6438 that is waiting to be merged into the code-base. As such the tweaking with the lua file will not be required. Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
Brief overview of PR changes/additions
Trying to fix wrong getMainWindowSize values if console is hidden,
for example when another console tab is in focus
Motivation for adding to Mudlet
Other info (issues closed, discussion etc)
should fix #5960