Merge branch 'dev'
This commit is contained in:
commit
9137523251
|
|
@ -314,7 +314,8 @@ export class FolkImageGen extends FolkShape {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Prevent drag on input
|
// Prevent canvas drag when interacting with content
|
||||||
|
this.#imageArea?.addEventListener("pointerdown", (e) => e.stopPropagation());
|
||||||
this.#promptInput?.addEventListener("pointerdown", (e) => e.stopPropagation());
|
this.#promptInput?.addEventListener("pointerdown", (e) => e.stopPropagation());
|
||||||
|
|
||||||
// Close button
|
// Close button
|
||||||
|
|
|
||||||
|
|
@ -539,7 +539,8 @@ export class FolkPrompt extends FolkShape {
|
||||||
this.#clearChat();
|
this.#clearChat();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Prevent drag on inputs
|
// Prevent canvas drag when interacting with chat content
|
||||||
|
this.#messagesEl?.addEventListener("pointerdown", (e) => e.stopPropagation());
|
||||||
this.#promptInput?.addEventListener("pointerdown", (e) => e.stopPropagation());
|
this.#promptInput?.addEventListener("pointerdown", (e) => e.stopPropagation());
|
||||||
|
|
||||||
// Voice dictation
|
// Voice dictation
|
||||||
|
|
|
||||||
|
|
@ -331,9 +331,9 @@ export class RStackCollabOverlay extends HTMLElement {
|
||||||
if (!badge) return;
|
if (!badge) return;
|
||||||
|
|
||||||
if (this.#soloMode) {
|
if (this.#soloMode) {
|
||||||
badge.innerHTML = `<span class="count solo">\u{1F464} Solo</span>`;
|
badge.innerHTML = `<span class="count solo">\u{1F4F4} Offline</span>`;
|
||||||
badge.classList.add('visible', 'solo');
|
badge.classList.add('visible', 'solo');
|
||||||
badge.title = 'Solo mode \u2014 your presence is hidden. Click to go collaborative.';
|
badge.title = 'Offline \u2014 your presence is hidden. Click to go online.';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -351,7 +351,7 @@ export class RStackCollabOverlay extends HTMLElement {
|
||||||
<span class="count">\u{1F465} ${count} online</span>
|
<span class="count">\u{1F465} ${count} online</span>
|
||||||
`;
|
`;
|
||||||
badge.classList.add('visible');
|
badge.classList.add('visible');
|
||||||
badge.title = 'Collaborative \u2014 sharing your presence. Click for solo mode.';
|
badge.title = 'Online \u2014 sharing your presence. Click to go offline.';
|
||||||
}
|
}
|
||||||
|
|
||||||
#renderCursors() {
|
#renderCursors() {
|
||||||
|
|
|
||||||
|
|
@ -5625,11 +5625,6 @@ Use real coordinates, YYYY-MM-DD dates, ISO currency codes. Ask clarifying quest
|
||||||
|
|
||||||
wbPreviewEl = null;
|
wbPreviewEl = null;
|
||||||
wbCurrentPath = [];
|
wbCurrentPath = [];
|
||||||
|
|
||||||
// Drawing tools are temporary — return to selector after one stroke
|
|
||||||
if (wbTool && wbTool !== "eraser") {
|
|
||||||
setWbTool(null);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Eraser click fallback for old SVG overlay elements
|
// Eraser click fallback for old SVG overlay elements
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue