kimhyunwoo commited on
Commit
de57dc5
·
verified ·
1 Parent(s): ff4ebe8

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -289,7 +289,7 @@
289
  keyElement.classList.add('black-key');
290
  // Position black key centered over the "crack" of the preceding white key
291
  // currentWhiteKeyVisualOffset is the right edge of the *previous* white key
292
- keyElement.style.left = (currentWhiteKeyVisualOffset - (BLACK_KEY_WIDTH_PX / 2) - (WHITE_KEY_OVERLAP_PX / 2) - 5) + 'px';
293
  keyElement.style.top = '0px';
294
  } else { // White key
295
  keyElement.classList.add('white-key');
 
289
  keyElement.classList.add('black-key');
290
  // Position black key centered over the "crack" of the preceding white key
291
  // currentWhiteKeyVisualOffset is the right edge of the *previous* white key
292
+ keyElement.style.left = (currentWhiteKeyVisualOffset - (BLACK_KEY_WIDTH_PX / 2) - (WHITE_KEY_OVERLAP_PX / 2) + 9) + 'px';
293
  keyElement.style.top = '0px';
294
  } else { // White key
295
  keyElement.classList.add('white-key');