Skip to content

Commit

Permalink
スクリーンキーボードを移動
Browse files Browse the repository at this point in the history
  • Loading branch information
bem130 committed Jul 8, 2024
1 parent a3e65cf commit c356ccb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
]),
])},
keyboard: ()=>{
let cnv = elm("canvas",{class:"center",id:"screenkeyboard"},[]).Listen("flick",(e)=>{
let cnv = elm("canvas",{id:"screenkeyboard"},[]).Listen("flick",(e)=>{
console.log("input",e.detail.btnnum,e.detail.label);
key = e.detail.label[0].toLowerCase();
if (key=="⇐") {key="Backspace"}
Expand Down Expand Up @@ -393,6 +393,8 @@
}

#screenkeyboard {
bottom: 0px;
position: absolute;
touch-action: none;
}

Expand Down

0 comments on commit c356ccb

Please sign in to comment.