Skip to content

Commit

Permalink
Fix/no blockly draggable class, part3 (#2)
Browse files Browse the repository at this point in the history
* Replaced blocklyDraggable check w/parent != blocklyBlockCanvas
* Added check for 'movable' before dragging selected block.

In the comments, I mention that drag logic may change in the future,
I couldn't decide if "drag everything depending on 'movable' setting
of block under the cursor" was a feature or bug.

Created /assets folder + added screenshots for README, and updated
explanation of package at top of README.

* Changed image url, gists are not allowed.

---------

Signed-off-by: Ron Shaker <[email protected]>
  • Loading branch information
rshaker authored Jun 5, 2024
1 parent 6fc1021 commit 74d2619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A [Blockly](https://www.npmjs.com/package/blockly) plugin that allows for simult

To activate multiselect mode, shift-click on a block *or* use the rectangular selection tool (shift-click-drag on background). Selected blocks will appear grey. Clicking on the background or any unselected block will deactivate multiselect mode.

<img src="https://gist.github.com/assets/448495/89b6415c-ba35-49b4-894d-f4f13871f8f7">
<img src="https://raw.githubusercontent.com/rshaker/multiselect-blockly/main/assets/plugin-all.png">

## Installation

Expand Down

0 comments on commit 74d2619

Please sign in to comment.