Skip to content

Commit

Permalink
chore: Clarify comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
gonfunko committed Jan 17, 2025
1 parent b5a6780 commit 1f62a1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions plugins/continuous-toolbox/src/ContinuousFlyout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import {ContinuousFlyoutMetrics} from './ContinuousFlyoutMetrics';
import {RecyclableBlockFlyoutInflater} from './RecyclableBlockFlyoutInflater';

interface LabelFlyoutItem extends Blockly.FlyoutItem {
// Blockly.FlyoutButton represents both buttons and labels; a label is just
// a borderless, non-clickable button.
getElement(): Blockly.FlyoutButton;
}

Expand Down
2 changes: 1 addition & 1 deletion plugins/continuous-toolbox/src/ContinuousMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class ContinuousMetrics extends Blockly.MetricsManager {
/**
* Gets the absolute left and absolute top in pixel coordinates.
* This is where the visible workspace starts in relation to the SVG
* container, shifted to not include the area behind the flyout.
* container, adjusted to not include the area behind the flyout.
*
* @returns The absolute metrics for the workspace.
*/
Expand Down

0 comments on commit 1f62a1c

Please sign in to comment.