diff --git a/src/components/view/core/BaseView.bs b/src/components/view/core/BaseView.bs index 0bda5788..11b93578 100644 --- a/src/components/view/core/BaseView.bs +++ b/src/components/view/core/BaseView.bs @@ -206,7 +206,7 @@ end function '+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ function onIsFocusedChange() - if m.global.focusManager.isLogging + if asBoolean(m.global.focusManager.isLogging) m.log.verbose("m.top.isFocused", m.top.isFocused, mc.dv(m.top)) end if @@ -243,7 +243,7 @@ end function ' * @param {boolean} isSelfFocused - if true, then this is the control that is focused, if false, then it is one of the control's parents ' */ function onGainedFocus(isSelfFocused as boolean) - if m.global.focusManager.isLogging + if asBoolean(m.global.focusManager.isLogging) m.log.info("onGainedFocus", m.top.subType(), isSelfFocused) end if