Skip to content

Feature: Object Locking #37

Description

@Pranav00076

Description:
Important background elements (like grids or large template frames) are easily moved by mistake. Users should be able to lock objects in place.

How to Implement:

  1. UI Toggle: Add a lock/unlock button to the properties floating menu when an object is selected.
  2. Fabric Properties: Set lockMovementX: true, lockMovementY: true, lockRotation: true, lockScalingX: true, lockScalingY: true, and hasControls: false on the Fabric object.
  3. Yjs State: Sync an isLocked boolean property via Yjs so other connected users also see the object as immovable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions