fix(shape-css): add pointer-events:all to header/toolbar; fix hardcoded white on lock icon

- .cc-shape-header and .cc-shape-toolbar button were missing pointer-events:all,
  causing toolbar buttons to be unclickable inside tldraw canvas
- Replace color:'white' on lock indicator with var(--cc-text-inverse)
This commit is contained in:
CC Worker
2026-05-31 22:10:08 +00:00
parent 55da04a3f7
commit 061cd22748
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ export abstract class CCBaseShapeUtil<T extends CCBaseShape> extends BaseBoxShap
</div>
</button>
))}
{isLocked && <span style={{ color: 'white' }}>🔒</span>}
{isLocked && <span style={{ color: 'var(--cc-text-inverse)' }}>🔒</span>}
</div>
</div>
{/* Content */}