mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-25 04:10:33 +05:00
mac osx: move using 2-finger click
This commit is contained in:
parent
ef6001f072
commit
7ca85f7420
@ -46,7 +46,11 @@ if {[catch {togl .ndraw -width 400 -height 300 -rgba true -double true -depth t
|
||||
}
|
||||
|
||||
bind .ndraw <B3-Motion> {
|
||||
Ng_MouseMove $oldmousex $oldmousey %x %y zoom
|
||||
if { $tcl_platform(os) == "Darwin" } {
|
||||
Ng_MouseMove $oldmousex $oldmousey %x %y move
|
||||
} {
|
||||
Ng_MouseMove $oldmousex $oldmousey %x %y zoom
|
||||
}
|
||||
.ndraw render
|
||||
set oldmousex %x; set oldmousey %y;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user