Verified Commit f5c2815d authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! BB 41631: Prevent weird initial window dimensions caused by subpixel computations

BB 42670: Sometimes LB is applied even when disabled.
parent 642c18d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -603,7 +603,7 @@ class _RFPHelper {

      log(`${logPrefix} roundDimensions(${aWidth}, ${aHeight})`);

      if (!(isInitialSize || this.letterboxingEnabled)) {
      if (!this.letterboxingEnabled) {
        // just round size to int
        return r(aWidth, aHeight);
      }