Skip to content

Commit

Permalink
Improve interactive (#436)
Browse files Browse the repository at this point in the history
* feat: the home page supports page navigation via the keyboard

* feat: change right-click to left-click for drawing

* feat: disable the ability to move the game by dragging

* feat: disable the automatic timed on/off for game

* feat: remove zomm buttons

* feat: disable the ability to move the game using the keyboard
  • Loading branch information
WhiteMinds authored Feb 23, 2024
1 parent 04b7f60 commit 1f1b756
Show file tree
Hide file tree
Showing 10 changed files with 291 additions and 307 deletions.
2 changes: 1 addition & 1 deletion public/locales/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
"ckb_in_nervos_dao": "CKB in Nervos DAO",
"loading": "loading"
},
"right_click_to_draw": "RIGHT CLICK TO DRAW"
"click_to_draw": "LEFT CLICK TO DRAW"
}
2 changes: 1 addition & 1 deletion public/locales/es/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
"ckb_in_nervos_dao": "CKB en Nervos DAO",
"loading": "cargando"
},
"right_click_to_draw": "CLIC DERECHO PARA DIBUJAR"
"click_to_draw": "CLIC IZQUIERDO PARA DIBUJAR"
}
2 changes: 1 addition & 1 deletion public/locales/fr/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
"ckb_in_nervos_dao": "CKB dans le Nervos DAO",
"loading": "en cours de chargement"
},
"right_click_to_draw": "CLIC DROIT POUR DESSINER"
"click_to_draw": "CLIC GAUCHE POUR DESSINER"
}
2 changes: 1 addition & 1 deletion public/locales/pt/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
"ckb_in_nervos_dao": "CKB em Nervos DAO",
"loading": "carregando"
},
"right_click_to_draw": "CLIQUE DIREITO PARA DESENHAR"
"click_to_draw": "CLIQUE ESQUERDO PARA DESENHAR"
}
2 changes: 1 addition & 1 deletion public/locales/zh/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
"ckb_in_nervos_dao": "Nervos DAO 中的 CKB",
"loading": "正在加载"
},
"right_click_to_draw": "右击绘制"
"click_to_draw": "左击绘制"
}
Loading

0 comments on commit 1f1b756

Please sign in to comment.