mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
C key no longer toggles Animation Editor's colour theme
This commit is contained in:
@@ -984,13 +984,6 @@ class AnimationEditor
|
|||||||
@components[:particle_list].set_particles(@anim[:particles])
|
@components[:particle_list].set_particles(@anim[:particles])
|
||||||
refresh
|
refresh
|
||||||
end
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -397,17 +397,6 @@ class AnimationEditor::AnimationSelector
|
|||||||
refresh
|
refresh
|
||||||
end
|
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
|
def update
|
||||||
@components.update
|
@components.update
|
||||||
if @components.changed?
|
if @components.changed?
|
||||||
@@ -423,7 +412,6 @@ class AnimationEditor::AnimationSelector
|
|||||||
apply_list_filter
|
apply_list_filter
|
||||||
refresh
|
refresh
|
||||||
end
|
end
|
||||||
update_input if !@components.busy?
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def run
|
def run
|
||||||
|
|||||||
Reference in New Issue
Block a user