Skip to content

Commit

Permalink
Components: Joystick-config: Improve visual feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Arturo Manzoli <[email protected]>
  • Loading branch information
ArturoManzoli authored and rafaellehmkuhl committed Oct 2, 2024
1 parent 2772f80 commit a1c308e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/ConfigurationJoystickView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
:items="tableItems"
class="elevation-1 bg-transparent rounded-lg mb-[20px]"
theme="dark"
no-data-text="Press any joystick button"
no-data-text=""
:style="interfaceStore.globalGlassMenuStyles"
>
<template #headers>
Expand All @@ -233,6 +233,7 @@
<th class="w-[120px] text-center"><p class="text-[16px] font-bold">Axis</p></th>
<th class="w-[110px] text-center"><p class="text-[16px] font-bold">Max</p></th>
</tr>
<p v-if="tableItems.length === 0" class="fixed top-[67%] left-[40%]">Press a key or move an axis</p>
</template>
<template #item="{ item }">
<tr v-if="item.type === 'axis'">
Expand Down Expand Up @@ -627,7 +628,7 @@ const inputClickedDialog = ref(false)
const currentModifierKey: Ref<ProtocolAction> = ref(modifierKeyActions.regular)
const availableModifierKeys: ProtocolAction[] = Object.values(modifierKeyActions)
const showJoystickLayout = ref(true)
const currentTabVIew = ref()
const currentTabVIew = ref('table')
const protocols = Object.values(JoystickProtocol).filter((value) => typeof value === 'string')
Expand Down

0 comments on commit a1c308e

Please sign in to comment.