Ignore:
Timestamp:
Nov 15, 2014, 10:32:26 PM (10 years ago)
Author:
chronos
Message:
  • Fixed: Allow map movement by mouse after moving cursor for at least defined number of pixels to minimalize accidental map move by clicking to map.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.lfm

    r86 r87  
    55  Width = 775
    66  Caption = 'xTactics'
    7   ClientHeight = 592
     7  ClientHeight = 595
    88  ClientWidth = 775
    99  Menu = MainMenu1
     
    1818  object StatusBar1: TStatusBar
    1919    Left = 0
    20     Height = 29
    21     Top = 563
     20    Height = 26
     21    Top = 569
    2222    Width = 775
    2323    Panels = <   
     
    3535  object ToolBar1: TToolBar
    3636    Left = 0
    37     Height = 563
     37    Height = 569
    3838    Top = 0
    3939    Width = 40
     
    116116  object PaintBox1: TPaintBox
    117117    Left = 40
    118     Height = 563
     118    Height = 569
    119119    Top = 0
    120120    Width = 735
    121121    Align = alClient
    122122    OnMouseDown = PaintBox1MouseDown
     123    OnMouseLeave = PaintBox1MouseLeave
    123124    OnMouseMove = PaintBox1MouseMove
    124125    OnMouseUp = PaintBox1MouseUp
    125     OnMouseLeave = PaintBox1MouseLeave
    126126    OnMouseWheelDown = PaintBox1MouseWheelDown
    127127    OnMouseWheelUp = PaintBox1MouseWheelUp
     
    198198  end
    199199  object Timer1: TTimer
    200     Interval = 10
     200    Interval = 20
    201201    OnTimer = Timer1Timer
    202202    left = 154
Note: See TracChangeset for help on using the changeset viewer.