D26637: balance scales multiple dataset

emmanuel charruau noreply at phabricator.kde.org
Sat Jan 25 13:35:44 GMT 2020


echarruau added a comment.


  Just a question for my own understanding.

INLINE COMMENTS

> scalesboard.js:81
> +function checkAnswer() {
> +    if((initCompleted && items.scaleHeight == 0 && !items.question.hasText)
> +            || (items.question.userEntry == items.question.answer)) {

Why do we need initCompleted here? Is displayLevel so slow that we it is possible for the user to click on ok button before displayLevel is executed? Just a question for my own knowledge :)

REPOSITORY
  R2 GCompris

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

To: dekumar, #gcompris_improvements, jjazeix, echarruau, timotheegiet
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20200125/2507652f/attachment.html>


More information about the kde-edu mailing list