Changeset 485 for trunk/LocalPlayer
- Timestamp:
- Dec 8, 2023, 12:28:23 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r483 r485 4742 4742 MainMap.SetPaintBounds(0, 0, UsedOffscreenWidth, UsedOffscreenHeight); 4743 4743 MapValid := False; 4744 OffscreenUser := self;4744 OffscreenUser := Self; 4745 4745 end; 4746 4746 … … 5644 5644 EOT.SetButtonIndexFast(eotBlinkOn); 5645 5645 end; 5646 end 5647 else 5648 begin 5646 end else begin 5649 5647 if Application.Active and not mScrollOff.Checked then 5650 5648 begin … … 5653 5651 dx := 0; 5654 5652 dy := 0; 5655 if Mouse.CursorPos.Y < Screen. height - PanelHeight then5653 if Mouse.CursorPos.Y < Screen.Height - PanelHeight then 5656 5654 if Mouse.CursorPos.X = 0 then 5657 5655 dx := -ScrollSpeed // scroll left 5658 else if Mouse.CursorPos.X = Screen.width - 1 then5656 else if Mouse.CursorPos.X >= Screen.Width - 1 then 5659 5657 dx := ScrollSpeed; // scroll right 5660 5658 if Mouse.CursorPos.Y = 0 then 5661 5659 dy := -ScrollSpeed // scroll up 5662 else if (Mouse.CursorPos.Y = Screen.height - 1) and5663 (Mouse.CursorPos.X >= TerrainBtn.Left + TerrainBtn. width) and5660 else if (Mouse.CursorPos.Y >= Screen.Height - 1) and 5661 (Mouse.CursorPos.X >= TerrainBtn.Left + TerrainBtn.Width) and 5664 5662 (Mouse.CursorPos.X < xRightPanel + 10 - 8) then 5665 5663 dy := ScrollSpeed; // scroll down
Note:
See TracChangeset
for help on using the changeset viewer.