mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Fix multiple typos, closes #627
This commit is contained in:
@@ -30,10 +30,10 @@ export class Dialog {
|
||||
* @param {string} param0.title Title of the dialog
|
||||
* @param {string} param0.contentHTML Inner dialog html
|
||||
* @param {Array<string>} param0.buttons
|
||||
* Button list, each button contains of up to 3 parts seperated by ':'.
|
||||
* Button list, each button contains of up to 3 parts separated by ':'.
|
||||
* Part 0: The id, one of the one defined in dialog_buttons.yaml
|
||||
* Part 1: The style, either good, bad or misc
|
||||
* Part 2 (optional): Additional parameters seperated by '/', available are:
|
||||
* Part 2 (optional): Additional parameters separated by '/', available are:
|
||||
* timeout: This button is only available after some waiting time
|
||||
* kb_enter: This button is triggered by the enter key
|
||||
* kb_escape This button is triggered by the escape key
|
||||
|
||||
@@ -224,7 +224,7 @@ export class ReadWriteProxy {
|
||||
return rawData;
|
||||
})
|
||||
|
||||
// Parse JSON, this could throw but thats fine
|
||||
// Parse JSON, this could throw but that's fine
|
||||
.then(res => {
|
||||
try {
|
||||
return JSON.parse(res);
|
||||
|
||||
@@ -206,7 +206,7 @@ export class AtlasSprite extends BaseSprite {
|
||||
srcX,
|
||||
srcY,
|
||||
|
||||
// atlas src siize
|
||||
// atlas src size
|
||||
srcW,
|
||||
srcH,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user