aboutsummaryrefslogtreecommitdiffhomepage
path: root/qml/Bit.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/Bit.qml')
-rw-r--r--qml/Bit.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/Bit.qml b/qml/Bit.qml
index 1b1e4b1..8332747 100644
--- a/qml/Bit.qml
+++ b/qml/Bit.qml
@@ -49,7 +49,7 @@ Loader {
}
} else if (index !== bits){
var num = Math.floor(Math.random() * (Math.pow(2, bits) - 1)) + 1;
- this.text = root.help ? (Math.pow(2, bits - index - 1)) : num;
+ this.text = root.help > 1 ? (Math.pow(2, bits - index - 1)) : num;
root.matrix[index] = num;
} else {
this.text = "0/1";