Randomly select region icon set
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -3,6 +3,7 @@ import { reactive, computed } from 'vue';
|
||||
const state = reactive({
|
||||
disclaimerAgreement: false,
|
||||
enabledRegions: ['thorax','abdomen','limbs','head'],
|
||||
regionIconSet: Math.floor(Math.random() * 2) + 1,
|
||||
version: '0.5.0-rc',
|
||||
fullscreen: false,
|
||||
useExternal: 'optional',
|
||||
@@ -46,6 +47,7 @@ export default () => ({
|
||||
externalType: computed(() => state.useExternal),
|
||||
getRegions: computed(() => state.enabledRegions),
|
||||
getVersion: computed(() => state.version),
|
||||
getIconSet: computed(() => state.regionIconSet),
|
||||
set,
|
||||
agree,
|
||||
getServerList,
|
||||
|
||||
Reference in New Issue
Block a user