fix: send resolved sticker mode before auto to sync immediate state
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,7 +2,7 @@ export const branding = {
|
|||||||
app: {
|
app: {
|
||||||
name: 'HSO Jackbox Game Picker',
|
name: 'HSO Jackbox Game Picker',
|
||||||
shortName: 'Jackbox Game Picker',
|
shortName: 'Jackbox Game Picker',
|
||||||
version: '0.8.1 - Stickers That Stick Edition',
|
version: '0.8.1.1 - Stickers That Stick Edition',
|
||||||
description: 'Spicing up Hyper Spaceout game nights!',
|
description: 'Spicing up Hyper Spaceout game nights!',
|
||||||
},
|
},
|
||||||
meta: {
|
meta: {
|
||||||
|
|||||||
@@ -908,6 +908,9 @@ function Picker() {
|
|||||||
key={opt.value}
|
key={opt.value}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setStickerMode(opt.value);
|
setStickerMode(opt.value);
|
||||||
|
if (opt.value === 'auto') {
|
||||||
|
stickerSendRef.current?.(pollActive ? 'show' : 'hide');
|
||||||
|
}
|
||||||
stickerSendRef.current?.(opt.value);
|
stickerSendRef.current?.(opt.value);
|
||||||
}}
|
}}
|
||||||
disabled={!stickerWsReady}
|
disabled={!stickerWsReady}
|
||||||
|
|||||||
Reference in New Issue
Block a user