Ignore:
Timestamp:
Apr 16, 2021, 11:38:59 AM (3 years ago)
Author:
chronos
Message:
  • Fixed: Allow to move dialogs on Linux only in TitleHeight area.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/DrawDlg.pas

    r352 r372  
    138138    NewFormPos := ScreenToClient(Mouse.CursorPos);
    139139    if (NewFormPos.X >= 0) and (NewFormPos.X < Width) and
    140       (NewFormPos.Y >= 0) and (NewFormPos.Y < Height) then begin
     140      (NewFormPos.Y >= 0) and (NewFormPos.Y < Height) and
     141      (NewFormPos.Y < TitleHeight) then begin
    141142      MoveMousePos := ClientToScreen(Point(X, Y));
    142143      MoveFormPos := Point(Left, Top);
Note: See TracChangeset for help on using the changeset viewer.