refactor: move elementLocked to activeTool.locked (#4983)
* refactor: move elementLocked to activeTool.locked * fix * fix snap * update docs * Update src/packages/excalidraw/CHANGELOG.md * revert * make lastActiveToolBeforeEraser required and nullable * fix snap
This commit is contained in:
@ -86,7 +86,7 @@ export const MobileMenu = ({
|
||||
</Island>
|
||||
{renderTopRightUI && renderTopRightUI(true, appState)}
|
||||
<LockButton
|
||||
checked={appState.elementLocked}
|
||||
checked={appState.activeTool.locked}
|
||||
onChange={onLockToggle}
|
||||
title={t("toolBar.lock")}
|
||||
isMobile
|
||||
|
Reference in New Issue
Block a user