This repository was archived by the owner on Oct 22, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,11 @@ div.keyboard_key > h3 {
120
120
right : 0.278vh ;
121
121
}
122
122
123
+ div .keyboard_key > h5 {
124
+ top : 0.278vh ;
125
+ right : 0.278vh ;
126
+ }
127
+
123
128
div .keyboard_key > h4 , div .keyboard_row > .keyboard_key : last-child > * : not (h1 ), div .keyboard_row > .keyboard_key : first-child > * : not (h1 ) {
124
129
opacity : 0 ;
125
130
position : absolute;
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class Keyboard {
27
27
key . innerHTML = `<h1>${ keyObj . name } </h1>` ;
28
28
} else {
29
29
key . innerHTML = `
30
+ <h5>${ keyObj . altshift_name || "" } </h5>
30
31
<h4>${ keyObj . fn_name || "" } </h4>
31
32
<h3>${ keyObj . alt_name || "" } </h3>
32
33
<h2>${ keyObj . shift_name || "" } </h2>
@@ -159,6 +160,7 @@ class Keyboard {
159
160
if ( container . dataset . isShiftOn === "true" && key . dataset . shift_cmd || container . dataset . isCapsLckOn === "true" && key . dataset . shift_cmd ) cmd = key . dataset . capslck_cmd || key . dataset . shift_cmd ;
160
161
if ( container . dataset . isCtrlOn === "true" && key . dataset . ctrl_cmd ) cmd = key . dataset . ctrl_cmd ;
161
162
if ( container . dataset . isAltOn === "true" && key . dataset . alt_cmd ) cmd = key . dataset . alt_cmd ;
163
+ if ( container . dataset . isAltOn === "true" && container . dataset . isShiftOn === "true" && key . dataset . altshift_cmd ) cmd = key . dataset . altshift_cmd ;
162
164
if ( container . dataset . isFnOn === "true" && key . dataset . fn_cmd ) cmd = key . dataset . fn_cmd ;
163
165
164
166
if ( container . dataset . isNextCircum === "true" ) {
You can’t perform that action at this time.
0 commit comments