Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix zoom slider focus issue (add a separate class for zoom_slider)
When the slider widget was added to ThemeWML, some work was not done apparently to make it play nicely with regards to focus and key events with the other theme wml widgets, causing it to retain focus for keyboard events indefinitely. At the time this was resolved by disabling these events, but this cripples the many other sliders in the game. In this commit we introduce a subclass zoom_slider which has this functionality disabled, and use that for zoom sliders, so that we can get the desired functionality back for the other sliders. See parent of this commit for more info.
- Loading branch information
Showing
4 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters