Added timeline button events to the input map & some dark theme changes

You currently cannot change the bindings of the timeline buttons, but now that they are in the input map, it should prevent the shortcuts from being bound elsewhere.
This commit is contained in:
OverloadedOrama 2020-05-01 18:40:16 +03:00
parent 460f86ff8e
commit 0ad8cc64cc
6 changed files with 66 additions and 10 deletions

View file

@ -3,11 +3,12 @@ extends Node
var current_save_path := ""
# Stores a filename of a backup file in user:// until user saves manually
var backup_save_path = ""
onready var autosave_timer : Timer
var default_autosave_interval := 5 # Minutes
func _ready():
onready var autosave_timer : Timer
func _ready() -> void:
autosave_timer = Timer.new()
autosave_timer.one_shot = false
autosave_timer.process_mode = Timer.TIMER_PROCESS_IDLE