전체화면 모드 메뉴 상단으로 위치이동

This commit is contained in:
Macbook
2026-06-03 14:14:02 +09:00
parent ba592b0789
commit 4dc7962a2f
9 changed files with 836 additions and 351 deletions
+1 -11
View File
@@ -97,7 +97,6 @@ export interface ToolbarProps {
magnetMode?: 'off' | 'weak' | 'strong';
/** 자석모드 토글 (off↔strong) */
onToggleMagnet?: () => void;
onFullscreen: () => void;
onUndo?: () => void;
onRedo?: () => void;
canUndo?: boolean;
@@ -220,12 +219,6 @@ const IcCamera = () => (
<circle cx="8" cy="9" r="2.5"/>
</svg>
);
const IcFullscreen = () => (
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" stroke="currentColor" strokeWidth="1.5">
<polyline points="1,5 1,1 5,1"/><polyline points="10,1 14,1 14,5"/>
<polyline points="14,10 14,14 10,14"/><polyline points="5,14 1,14 1,10"/>
</svg>
);
const IcBell = () => (
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" stroke="currentColor" strokeWidth="1.5">
<path d="M7.5 2 C5 2 3 4 3 6.5 L3 10 L2 11 L13 11 L12 10 L12 6.5 C12 4 10 2 7.5 2 Z"/>
@@ -814,7 +807,7 @@ const Toolbar: React.FC<ToolbarProps> = ({
onToggleStats, onToggleWatch, onToggleAlert,
tradeNotifyUnread = 0, onOpenTradeNotifications, onOpenAppDownload,
magnetMode = 'off', onToggleMagnet,
onFullscreen, onUndo, onRedo, canUndo, canRedo, onClearDrawings,
onUndo, onRedo, canUndo, canRedo, onClearDrawings,
onToggleGrid,
layoutId = '1', syncOptions = DEFAULT_SYNC, onLayoutSelect, onSyncChange,
magnifierActive = false, onToggleMagnifier,
@@ -1388,9 +1381,6 @@ const Toolbar: React.FC<ToolbarProps> = ({
<button className="tv-icon-btn" onClick={onScreenshot} title="스크린샷 (Alt+S)">
<IcCamera />
</button>
<button className="tv-icon-btn" onClick={onFullscreen} title="전체화면">
<IcFullscreen />
</button>
</div>
</div>