Changeset 642 for trunk/LocalPlayer
- Timestamp:
- Nov 23, 2024, 8:50:21 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r624 r642 5583 5583 MousePos := ScreenToClient(Mouse.CursorPos); 5584 5584 if MousePos.Y < Height - PanelHeight then 5585 if MousePos.X <= ScrollWidththen5585 if (MousePos.X >= 0) and (MousePos.X <= ScrollWidth) then 5586 5586 dx := -ScrollSpeed // scroll left 5587 else if MousePos.X >= Width - ScrollWidth - 1then5587 else if (MousePos.X <= Width) and (MousePos.X >= Width - ScrollWidth - 1) then 5588 5588 dx := ScrollSpeed; // scroll right 5589 if MousePos.Y <= ScrollWidththen5589 if (MousePos.Y >= 0) and (MousePos.Y <= ScrollWidth) then 5590 5590 dy := -ScrollSpeed // scroll up 5591 else if (MousePos.Y >= Height - ScrollWidth - 1) and5591 else if (MousePos.Y <= Height) and (MousePos.Y >= Height - ScrollWidth - 1) and 5592 5592 (MousePos.X >= TerrainBtn.Left + TerrainBtn.Width) and 5593 5593 (MousePos.X < xRightPanel + 10 - 8) then
Note:
See TracChangeset
for help on using the changeset viewer.