forked from Unvanquished/Unvanquished
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework <dataselect> initially selected option
Changes with the <dataselect> element: - Use the event system ("change" event), instead of checking whether the selection changes each frame. - Set the initially selection option directly instead of round tripping through the event queue. - Fix data source "get" functions (only used by <dataselect>). Fixes some bugs with the options menus: - audio.al.device is no longer set to the empty string every time the cgame loads - If you used a positive r_mode, opening the resolution menu will no longer set it to the equivalent resolution but using r_mode -1 and "custom" dimensions.
- Loading branch information
Showing
3 changed files
with
33 additions
and
47 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