- Timestamp:
- Aug 16, 2016 10:50:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/mapviewer.tcl
r6452 r6486 1855 1855 } 1856 1856 "drag" { 1857 if {$_b1mode == "select"} { 1858 EventuallySelect $x $y 1859 } 1857 if {$_b1mode != "select"} { 1858 return 1859 } 1860 if { ![info exists _click(x)] } { 1861 set _click(x) $x 1862 } 1863 if { ![info exists _click(y)] } { 1864 set _click(y) $y 1865 } 1866 EventuallySelect $x $y 1860 1867 } 1861 1868 "release" { 1862 1869 set _b1mode "" 1863 if {$_click(x) == $x && 1864 $_click(y) == $y} { 1870 if {![info exists _click(x)] || 1871 ![info exists _click(y)] || 1872 ($_click(x) == $x && 1873 $_click(y) == $y)} { 1865 1874 SendCmd "map box clear" 1866 1875 } else {
Note: See TracChangeset
for help on using the changeset viewer.