Skip to content

Commit 854aab4

Browse files
author
Christophe Gragnic
committed
Partial and note upper on the screen
1 parent 512b4e2 commit 854aab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bonepostouch.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function adjust_size() {
118118
SVGs['partial_num'].setAttribute('stroke-width', 1);
119119
SVGs['partial_num'].setAttribute('stroke-linecap', 'round');
120120
SVGs['partial_num'].setAttribute('x', screen_W / 2 - W/2 + W/6);
121-
SVGs['partial_num'].setAttribute('y', screen_H / 2 - H/2 + 3*H/7);
121+
SVGs['partial_num'].setAttribute('y', screen_H / 2 - H/2 + H/12);
122122
SVGs['partial_num'].setAttribute('font-size', W / 15);
123123
SVGs['partial_num'].setAttribute('text-anchor', 'middle');
124124
var last = SVGs['partial_num'].lastChild;
@@ -130,7 +130,7 @@ function adjust_size() {
130130
SVGs['note'].setAttribute('stroke-width', 1);
131131
SVGs['note'].setAttribute('stroke-linecap', 'round');
132132
SVGs['note'].setAttribute('x', screen_W / 2 + W/3);
133-
SVGs['note'].setAttribute('y', screen_H / 2 - H/2 + 3*H/7);
133+
SVGs['note'].setAttribute('y', screen_H / 2 - H/2 + H/12);
134134
SVGs['note'].setAttribute('font-size', W / 15);
135135
SVGs['note'].setAttribute('text-anchor', 'middle');
136136
var textNode = document.createTextNode("");

0 commit comments

Comments
 (0)