Animation support for touch gestures
- Last UpdatedJun 18, 2024
- 2 minute read
All action scripts configured for touch support should function the same no matter the zoom level. All interaction and visualization animations behave the same while frame content is zoomed in as when frame content is at its standard view. Interaction animations will function properly for touch.
Note: Industrial Graphic pop ups shown by the ShowSymbol animation or ShowSymbol script function will have pan and zoom enabled by default. However, you cannot disable this configuration.
The following table lists action scripts commonly configured for touch support:
|
Action Script |
Touch Triggered |
|
On Left Down |
Touch down |
|
While Left Down |
Touch down and slide |
|
On Left Up |
Touch up |
|
On Left Double Click |
Double tap |
|
On Right Click |
Touch down and hold |
|
On Right Up |
Touch down and hold for square and execute on release |
|
On Right Double Click |
Not supported |
|
While Right Down |
Touch down and hold square and slide a bit while pressing |
|
On Center Click |
Not supported |
|
While Center Down |
Not supported |
|
On Center Up |
Not supported |
|
On Center Double Click |
Not supported |
Note: When touch interaction is used on an area with animation, the animation will take precedence over panning actions and panning actions will be ignored. If one finger retains touch interaction, any subsequent touch points will be ignored.
To enable panning in this scenario,select the Pan icon in the Pan and Zoom Toolbar.
Touch gesture limitations
Some limitations apply to touch gesture functionality for run time panning and zooming. The below functionality is not supported:
-
Scaling fonts for Windows Common Controls
Note: Additionally, a symbol with an embedded windows control uses different mechanisms for scaling than a symbol without a control. A symbol with an embedded control has a maximum zoom limitation of 500%, while a symbol without a control can zoom up to 5000%. The advantage of a symbol without a control is smoother scaling. An additional limitation of using symbols with embedded controls is, while zooming is in progress, the control will flicker. This is particularly visible while zooming with touch gestures.