Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-11-24 04:25:03 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-11-24 04:25:03 (GMT)
commit80b97788d13dcbc61b041ca151f6d6c493b84d15 (patch)
tree6eb0b6744468aaafab9db6b0a90dbf618e28ce1e
parent7f6b82d9ea491fb3bc8ae6a2e88aed980dab01a3 (diff)
Enlarge black keys
-rwxr-xr-xdraw_piano.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/draw_piano.py b/draw_piano.py
index be7812b..c097c02 100755
--- a/draw_piano.py
+++ b/draw_piano.py
@@ -18,9 +18,9 @@ from gi.repository import cairo
# constants used to calculate the draw of black keys
# right now is 4/5 of the white key
# then is 2/5 and 3/5 (before was 1/3 and 2/3)
-K1 = 2.
-K2 = 3.
-D = 5.
+K1 = 3.
+K2 = 4.
+D = 7.
class PianoKeyboard(Gtk.DrawingArea):