mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 18:45:22 +01:00
[MIRROR] Makes the GAS system only update the icon when it has changed (#4924)
* Makes the GAS system only update the icon when it has changed (#58337) * Makes the GAS system only update the icon when it has changed Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
This commit is contained in:
@@ -70,8 +70,8 @@
|
||||
split_colors[group] = new_color
|
||||
refresh_preview()
|
||||
if("apply")
|
||||
target.greyscale_colors = split_colors.Join()
|
||||
target.update_appearance()
|
||||
target.greyscale_colors = "" // We do this to force an update, in some cases it will think nothing changed when it should be refreshing
|
||||
target.set_greyscale_colors(split_colors)
|
||||
if("refresh_file")
|
||||
SSgreyscale.RefreshConfigsFromFile()
|
||||
refresh_preview()
|
||||
|
||||
Reference in New Issue
Block a user