Skip to content

Conversation

@gonfunko
Copy link
Contributor

@gonfunko gonfunko commented Jul 2, 2024

…ize change listeners

The basics

The details

Proposed Changes

This PR stores the workspace comment size at the start of a drag on the resize handle, and reports that value to size change listeners. Previously, because the comment was continuously resized during the drag, but size change events were only fired at the end, the "old" comment size calculated in the method that fires the size change event was identical to the new size, so size change listeners were misinformed.

@gonfunko gonfunko requested a review from a team as a code owner July 2, 2024 20:40
@gonfunko gonfunko requested a review from BeksOmega July 2, 2024 20:40
@github-actions github-actions bot added the PR: fix Fixes a bug label Jul 2, 2024
@gonfunko gonfunko merged commit 21a73c4 into RaspberryPiFoundation:develop Jul 2, 2024
@gonfunko gonfunko deleted the comment-resize branch July 2, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants