Skip to content

Explicit disabling of workspace resizing#653

Merged
tmickel merged 2 commits intoscratchfoundation:developfrom
tmickel:feature/resizes-enabled
Oct 4, 2016
Merged

Explicit disabling of workspace resizing#653
tmickel merged 2 commits intoscratchfoundation:developfrom
tmickel:feature/resizes-enabled

Conversation

@tmickel
Copy link
Copy Markdown
Contributor

@tmickel tmickel commented Oct 3, 2016

Should fix #639, as we discussed. Now resizing is explicitly disabled when clearing the workspace, and importing blocks from XML. But when those operations are finished, the workspace is resized in workspace.setResizesEnabled(true).

As a fun experiment, I also added calls to this when a block drag begins/ends. This means the workspace is no longer resized when insertion markers are created/destroyed, which I think we also discussed at some point. It seems to work well so far!

@tmickel tmickel added this to the October 20 milestone Oct 3, 2016
@tmickel tmickel merged commit ec36255 into scratchfoundation:develop Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scrolling is basically broken

2 participants