C key no longer toggles Animation Editor's colour theme

This commit is contained in:
Maruno17
2025-01-16 22:55:45 +00:00
parent 63309a2ae9
commit bfadd7ff9f
2 changed files with 0 additions and 19 deletions

View File

@@ -984,13 +984,6 @@ class AnimationEditor
@components[:particle_list].set_particles(@anim[:particles])
refresh
end
elsif Input.triggerex?(:C)
options = color_scheme_options.keys
this_index = options.index(@color_scheme || :light) || 0
new_index = (this_index + 1) % options.length
@settings[:color_scheme] = options[new_index]
self.color_scheme = @settings[:color_scheme]
save_settings
end
end

View File

@@ -397,17 +397,6 @@ class AnimationEditor::AnimationSelector
refresh
end
def update_input
if Input.triggerex?(:C)
options = color_scheme_options.keys
this_index = options.index(@color_scheme || :light) || 0
new_index = (this_index + 1) % options.length
@settings[:color_scheme] = options[new_index]
self.color_scheme = @settings[:color_scheme]
save_settings
end
end
def update
@components.update
if @components.changed?
@@ -423,7 +412,6 @@ class AnimationEditor::AnimationSelector
apply_list_filter
refresh
end
update_input if !@components.busy?
end
def run