examples/tic_tac_toe.rb in glimmer-dsl-libui-0.2.22 vs examples/tic_tac_toe.rb in glimmer-dsl-libui-0.2.23
- old
+ new
@@ -50,10 +50,10 @@
stroke :black, thickness: 2
}
text(23, 19) {
@cells[row] << string('') {
- font family: 'Arial', size: 20
+ font family: 'Arial', size: OS.mac? ? 20 : 16
}
}
on_mouse_up do
@tic_tac_toe_board.mark(row + 1, column + 1) # board model is 1-based
end