mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Comply with ESLint.
This commit is contained in:
parent
b8bc895906
commit
82d6efa7cd
@ -305,9 +305,9 @@ export class HUDBuildingPlacer extends BaseHUDPart {
|
|||||||
this.buildingInfoElements.tutorialImage.setAttribute(
|
this.buildingInfoElements.tutorialImage.setAttribute(
|
||||||
"data-icon",
|
"data-icon",
|
||||||
"building_tutorials/" +
|
"building_tutorials/" +
|
||||||
metaBuilding.getId() +
|
metaBuilding.getId() +
|
||||||
(variant === defaultBuildingVariant ? "" : "-" + variant) +
|
(variant === defaultBuildingVariant ? "" : "-" + variant) +
|
||||||
".png"
|
".png"
|
||||||
);
|
);
|
||||||
|
|
||||||
removeAllChildren(this.buildingInfoElements.additionalInfo);
|
removeAllChildren(this.buildingInfoElements.additionalInfo);
|
||||||
@ -345,10 +345,10 @@ export class HUDBuildingPlacer extends BaseHUDPart {
|
|||||||
T.ingame.buildingPlacement.cycleBuildingVariants.replace(
|
T.ingame.buildingPlacement.cycleBuildingVariants.replace(
|
||||||
"<key>",
|
"<key>",
|
||||||
"<code class='keybinding'>" +
|
"<code class='keybinding'>" +
|
||||||
this.root.keyMapper
|
this.root.keyMapper
|
||||||
.getBinding(KEYMAPPINGS.placement.cycleBuildingVariants)
|
.getBinding(KEYMAPPINGS.placement.cycleBuildingVariants)
|
||||||
.getKeyCodeString() +
|
.getKeyCodeString() +
|
||||||
"</code>"
|
"</code>"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -111,13 +111,13 @@ export const allApplicationSettings = [
|
|||||||
textGetter: rate => rate + " Hz",
|
textGetter: rate => rate + " Hz",
|
||||||
category: categoryGame,
|
category: categoryGame,
|
||||||
restartRequired: false,
|
restartRequired: false,
|
||||||
changeCb: (app, id) => { },
|
changeCb: (app, id) => {},
|
||||||
enabled: !IS_DEMO,
|
enabled: !IS_DEMO,
|
||||||
}),
|
}),
|
||||||
|
|
||||||
new BoolSetting("alwaysMultiplace", categoryGame, (app, value) => { }),
|
new BoolSetting("alwaysMultiplace", categoryGame, (app, value) => {}),
|
||||||
new BoolSetting("abortPlacementOnDeletion", categoryGame, (app, value) => { }),
|
new BoolSetting("abortPlacementOnDeletion", categoryGame, (app, value) => {}),
|
||||||
new BoolSetting("offerHints", categoryGame, (app, value) => { }),
|
new BoolSetting("offerHints", categoryGame, (app, value) => {}),
|
||||||
];
|
];
|
||||||
|
|
||||||
export function getApplicationSettingById(id) {
|
export function getApplicationSettingById(id) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user