Changeset 484 for trunk/LocalPlayer


Ignore:
Timestamp:
Dec 8, 2023, 11:44:10 AM (11 months ago)
Author:
chronos
Message:
  • Fixed: High DPI range checking in book painting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/MessgEx.pas

    r480 r484  
    264264            else
    265265              share := share * yR;
    266             if (xDst + dx < ScaleToNative(Width)) and
    267             (yDst + dy < ScaleToNative(Height)) then begin
     266            if (xDst + dx < wScrewed) and
     267            (yDst + dy < hScrewed) then begin
    268268              Screwed[xDst + dx, yDst + dy, 0] := Screwed[xDst + dx, yDst + dy, 0]
    269269                + share * SrcPtr.Pixel^.B;
Note: See TracChangeset for help on using the changeset viewer.