You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the "HsiButton" (BasiGX.view.button.Hsi) does not use the toggle mechanism of its base class Ext.Button. Instead a custom handler function is applied which toggles a custom member variable buttonPressed. This has the effect that if the pressed state of the HsiButton is changed programatically via btn.setPressed(...) the functionality is not deactivated.
By using a toggle listener this could be fixed. The current state is available by the property pressed so no need for a custom property. This would be more intuitive and will integrate better to the whole framework.
The text was updated successfully, but these errors were encountered:
Currently the "HsiButton" (
BasiGX.view.button.Hsi
) does not use the toggle mechanism of its base classExt.Button
. Instead a customhandler
function is applied which toggles a custom member variablebuttonPressed
. This has the effect that if the pressed state of the HsiButton is changed programatically viabtn.setPressed(...)
the functionality is not deactivated.By using a toggle listener this could be fixed. The current state is available by the property pressed so no need for a custom property. This would be more intuitive and will integrate better to the whole framework.
The text was updated successfully, but these errors were encountered: