puzzle(sudoku), prevent score overriding.
Needs RevisionPublic

Authored by ganeshredcobra on Jul 17 2018, 4:07 PM.

Details

Summary

puzzle(sudoku), prevent score overriding.

Diff Detail

Repository
R2 GCompris
Lint
Lint Skipped
Unit
Unit Tests Skipped
ganeshredcobra created this revision.Jul 17 2018, 4:07 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptJul 17 2018, 4:07 PM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
amankumargupta requested changes to this revision.Jul 25 2018, 11:46 AM
amankumargupta added a subscriber: amankumargupta.

There's still slight overriding: https://pasteboard.co/Hw5hzi5.png

Let's assume, rem = space left between grid's bottom and bar's top. I'm leaving it to you to figure out the exact expression from the code ;)
Then can you do something like, height: Math.min(defaultHeight, rem) for the score?
It should resolve this.

This revision now requires changes to proceed.Jul 25 2018, 11:46 AM