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: {
|
||||
name: 'HSO 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!',
|
||||
},
|
||||
meta: {
|
||||
|
||||
@@ -908,6 +908,9 @@ function Picker() {
|
||||
key={opt.value}
|
||||
onClick={() => {
|
||||
setStickerMode(opt.value);
|
||||
if (opt.value === 'auto') {
|
||||
stickerSendRef.current?.(pollActive ? 'show' : 'hide');
|
||||
}
|
||||
stickerSendRef.current?.(opt.value);
|
||||
}}
|
||||
disabled={!stickerWsReady}
|
||||
|
||||
Reference in New Issue
Block a user