mol_plot_all 1.2.125 → 1.2.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.d.ts +6 -8
- package/node.deps.json +1 -1
- package/node.esm.js +34 -40
- package/node.esm.js.map +1 -1
- package/node.js +34 -40
- package/node.js.map +1 -1
- package/node.test.js +34 -40
- package/node.test.js.map +1 -1
- package/node.view.tree +7 -2
- package/package.json +1 -1
- package/web.d.ts +6 -8
- package/web.deps.json +1 -1
- package/web.esm.js +34 -40
- package/web.esm.js.map +1 -1
- package/web.js +34 -40
- package/web.js.map +1 -1
- package/web.view.tree +7 -2
package/web.view.tree
CHANGED
|
@@ -94,6 +94,9 @@ $mol_touch $mol_plugin
|
|
|
94
94
|
start_zoom?val 0
|
|
95
95
|
start_distance?val 0
|
|
96
96
|
zoom?val 1
|
|
97
|
+
allow_draw true
|
|
98
|
+
allow_pan true
|
|
99
|
+
allow_zoom true
|
|
97
100
|
action_type?val \
|
|
98
101
|
action_point?val $mol_vector_2d /
|
|
99
102
|
NaN
|
|
@@ -141,7 +144,6 @@ $mol_touch $mol_plugin
|
|
|
141
144
|
pointerup?event <=> event_end?event null
|
|
142
145
|
pointerleave?event <=> event_end?event null
|
|
143
146
|
wheel?event <=> event_wheel?event null
|
|
144
|
-
contextmenu?event <=> event_menu?event null
|
|
145
147
|
|
|
146
148
|
$mol_plot_pane $mol_svg_root
|
|
147
149
|
aspect \none
|
|
@@ -221,10 +223,13 @@ $mol_plot_pane $mol_svg_root
|
|
|
221
223
|
zoom?val <=> zoom?val 1
|
|
222
224
|
pan?val <=> shift?val
|
|
223
225
|
pointer_center => cursor_position
|
|
226
|
+
allow_draw <= allow_draw true
|
|
227
|
+
allow_pan <= allow_pan true
|
|
228
|
+
allow_zoom <= allow_zoom true
|
|
224
229
|
action_type => action_type
|
|
225
230
|
action_point => action_point
|
|
226
231
|
draw?event <=> draw?event null
|
|
227
|
-
event *
|
|
232
|
+
- event *
|
|
228
233
|
^
|
|
229
234
|
dblclick?event <=> reset?event null
|
|
230
235
|
|