Librum-Reader/Librum

A question about 'active'

1250890838 opened this issue · 1 comments

hello,on
https://github.com/Librum-Reader/Librum/blob/main/src/presentation/modules/CustomComponents/buttons/MButton.qml
I found the active custom attribute,I don't quite understand what it means. Generally speaking, it should refer to the interval between when the mouse is pressed and when it is released.but on
https://github.com/LibrumReader/Librum/blob/main/src/presentation/modules/CustomComponents/MConfirmAccountDeletionPopup.qml
i found that it doesn't seem to be the case,because the active attribute does not change when pressed.
Can you please tell me its specific meaning?thanks in advance.

Hey, thanks for pointing that out. active is indeed supposed to be true when the button is selected, it seems like I forgot it there. We will be changing that behavior soon anyways to a more intuitive way of handling the focus though.