D12245: algorithm activity, block clicks while bonus is running.

Johnny Jazeix noreply at phabricator.kde.org
Mon Apr 16 15:34:13 UTC 2018


jjazeix added inline comments.

INLINE COMMENTS

> Algorithm.qml:70
>          Keys.onPressed: {
> -            keyNavigationVisible = true
> -            if(event.key === Qt.Key_Left)
> -                choiceGridView.moveCurrentIndexLeft()
> -            if(event.key === Qt.Key_Right)
> -                choiceGridView.moveCurrentIndexRight()
> -            if(event.key === Qt.Key_Space || event.key === Qt.Key_Enter || event.key === Qt.Key_Return)
> -                choiceGridView.currentItem.clicked()
> +            if(!items.blockClicks) {
> +                keyNavigationVisible = true

would using Keys.enabled be better?

REPOSITORY
  R2 GCompris

REVISION DETAIL
  https://phabricator.kde.org/D12245

To: amankumargupta, #gcompris_improvements
Cc: jjazeix, #kde_edu, #gcompris_improvements, himanshuvishwakarma, harrymecwan, ganeshredcobra, nityanandkumar, echarruau, rahulyadav, narvaez, scagarwal, apol, timotheegiet, hkaelberer, bcoudoin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180416/8cebced8/attachment.html>


More information about the kde-edu mailing list