diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-09 23:35:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 23:35:04 +0200 |
commit | 007e32fd632da33ea1b1442f9a55f6ad008ad177 (patch) | |
tree | 32de00dddb0a5ea3cdbf0f4c24db92f6a0713e32 /src-vue/src/components/PlayButton.vue | |
parent | 1ce900ca2d5cf91ae410c2ec918e1431aa15a677 (diff) | |
download | FlightCore-007e32fd632da33ea1b1442f9a55f6ad008ad177.tar.gz FlightCore-007e32fd632da33ea1b1442f9a55f6ad008ad177.zip |
style: Partially autoformat Vue source files (#326)
* style: Add/remove spaces where applicable
* style: Add missing newlines
* style: Fix indentation
* style: Add newlines between CSS classes
Diffstat (limited to 'src-vue/src/components/PlayButton.vue')
-rw-r--r-- | src-vue/src/components/PlayButton.vue | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src-vue/src/components/PlayButton.vue b/src-vue/src/components/PlayButton.vue index 208b4703..83a23ae5 100644 --- a/src-vue/src/components/PlayButton.vue +++ b/src-vue/src/components/PlayButton.vue @@ -21,7 +21,7 @@ export default defineComponent({ return this.$t("play.button.northstar_is_running"); } - switch(this.$store.state.northstar_state) { + switch (this.$store.state.northstar_state) { case NorthstarState.GAME_NOT_FOUND: return this.$t("play.button.select_game_dir"); case NorthstarState.INSTALL: @@ -42,7 +42,7 @@ export default defineComponent({ northstarIsRunning(): boolean { return this.$store.state.northstar_is_running; }, - options(): {key: string, value: string}[] { + options(): { key: string, value: string }[] { return Object.keys(ReleaseCanal).map(function (v) { return { key: v, @@ -50,7 +50,7 @@ export default defineComponent({ } }); }, - selectOptions(): {label: string, options: {value: ReleaseCanal, label: string}[]}[] { + selectOptions(): { label: string, options: { value: ReleaseCanal, label: string }[] }[] { return [ { label: 'Beta', @@ -125,6 +125,7 @@ button { font-size: 15px; margin-right: 0; } + .fc_launch__button:focus { background-color: var(--el-color-primary); border-color: var(--el-color-primary); |