Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):