mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 16:30:04 +00:00
slight performance improvement for the editor2 settings dialog...
...lighting change flicker
This commit is contained in:
parent
e722334335
commit
f4fef24ffc
@ -264,8 +264,9 @@ void editor_controller::editor_settings_dialog()
|
||||
|
||||
void editor_controller::editor_settings_dialog_redraw_callback(int r, int g, int b)
|
||||
{
|
||||
SCOPE_ED;
|
||||
image::set_colour_adjustment(r, g, b);
|
||||
refresh_all();
|
||||
gui().redraw_everything();
|
||||
}
|
||||
|
||||
bool editor_controller::confirm_discard()
|
||||
|
Loading…
x
Reference in New Issue
Block a user