Skip to content

Commit

Permalink
added a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieCabrera committed Apr 24, 2024
1 parent 3472f44 commit a576b63
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ export default function DimensionsPanel( {
const inputProps = {
min: minMarginValue,
onDragStart: () => {
//Reset to 0 in case the value was negative.
setMinMarginValue( 0 );
},
onDragEnd: () => {
Expand Down

0 comments on commit a576b63

Please sign in to comment.