Verified Commit 37f50d6d authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3458272 by seutje: Subpixel rounding issue causes dialog to resize unnecessarily

(cherry picked from commit 9d6c9f78)
parent 48915a9c
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -96,7 +96,8 @@
          // Don't force the dialog to be bigger vertically than needed.
          if (
            option === 'height' &&
            event.data.$element.parent().outerHeight() < adjustedValue
            Math.round(event.data.$element.parent().outerHeight()) <
              adjustedValue
          ) {
            adjustedValue = 'auto';
          }