fix: send resolved sticker mode before auto to sync immediate state

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-23 23:37:38 -04:00
parent 141296b35e
commit 635ecad2e5

View File

@@ -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}