Skip to content
  • Alvin Wong's avatar
    Fix rounding of doc offset in fractional DPI scaling · 458beaaa
    Alvin Wong authored
    I originally used floor when rounding to device pixels, but it appears
    that rounding to nearest is the more correct choice.
    
    This partially stops the canvas from juggling when the "Fit to Page"
    action is performed.
    458beaaa