workaround #114: workaround issues occurring due to ordering of internal children of card

This commit is contained in:
betalars 2025-04-27 12:41:30 +02:00
parent 5e1fb71520
commit f3a8ef6e46
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ func attach_sticky_note(sticky_note: StickyNote) -> bool:
if has_sticky_note_attached(): if has_sticky_note_attached():
return false return false
sticky_note.reparent(self) sticky_note.reparent(self)
sticky_note.z_index = 1
sticky_note.position = sticky_note_position sticky_note.position = sticky_note_position
sticky_note.on_board = false sticky_note.on_board = false
current_sticky_note = sticky_note current_sticky_note = sticky_note