Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Make better use of the viewportResizeHandleWidth variable in JS#100

Open
tommcc wants to merge 1 commit into
pattern-lab:developfrom
tommcc:use-handle-width-var
Open

Make better use of the viewportResizeHandleWidth variable in JS#100
tommcc wants to merge 1 commit into
pattern-lab:developfrom
tommcc:use-handle-width-var

Conversation

@tommcc
Copy link
Copy Markdown
Contributor

@tommcc tommcc commented Oct 30, 2017

Just a small cleanup PR to avoid magic numbers in the code.

Several places in this file use the viewportResizeHandleWidth variable when calculating widths. I found 14 being used in two places where it appears that the variable should have been used.

@bmuenzenmeyer bmuenzenmeyer self-requested a review November 6, 2017 16:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant