Removed unneeded Container.reflectChildProperties()

This commit is contained in:
2023-03-12 01:57:56 -05:00
parent b09994973c
commit 7ef95cc751
2 changed files with 2 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
package core
// import "runtime/debug"
import "git.tebibyte.media/sashakoshka/tomo/input"
// FocusableCore is a struct that can be embedded into objects to make them
@@ -71,6 +72,7 @@ func (core *FocusableCore) HandleFocus (
// HandleUnfocus causes this element to mark itself as unfocused.
func (core *FocusableCore) HandleUnfocus () {
core.focused = false
// debug.PrintStack()
if core.drawFocusChange != nil { core.drawFocusChange() }
}