Increased scroll speed and added window_size_changed event for containers that is thrown from the root container

This commit is contained in:
2021-01-31 13:33:20 -06:00
parent af24fc8690
commit d050f63c2b
2 changed files with 7 additions and 2 deletions

View File

@@ -11,11 +11,13 @@ module CyberarmEngine
super
@scroll_position = Vector.new(0, 0)
@scroll_speed = 10
@scroll_speed = 40
@text_color = options[:color]
@children = []
event(:window_size_changed)
end
def build