Make drop areas react to collision with "cursor" scene

This is a preparation to allow drop areas on GUI elements.
This commit is contained in:
blinry 2020-11-07 13:59:47 +01:00
parent f6c7ef90d8
commit 38faac5485
10 changed files with 53 additions and 12 deletions

View file

@ -6,6 +6,7 @@ signal clicked(what)
enum IconStatus {NONE, NEW, REMOVED, CONFLICT, EDIT, UNTRACKED}
export(IconStatus) var status setget _set_status
export var label: String setget _set_label
var type = "file"
onready var label_node = $VBoxContainer/Label
onready var status_icon = $VBoxContainer/Control/TextureRect/StatusIcon