vim-web 0.6.0-dev.1 → 0.6.0-dev.2
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/dist/vim-web.iife.js +3 -3
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js +3 -3
- package/dist/vim-web.js.map +1 -1
- package/package.json +1 -1
package/dist/vim-web.iife.js
CHANGED
|
@@ -55039,14 +55039,14 @@ void main() {
|
|
|
55039
55039
|
selectAtPointer: async (pos, add) => {
|
|
55040
55040
|
const result = await viewer.raycaster.raycastFromScreen(pos);
|
|
55041
55041
|
if (add) {
|
|
55042
|
-
viewer.selection.add(result.object);
|
|
55042
|
+
viewer.selection.add(result == null ? void 0 : result.object);
|
|
55043
55043
|
} else {
|
|
55044
|
-
viewer.selection.select(result.object);
|
|
55044
|
+
viewer.selection.select(result == null ? void 0 : result.object);
|
|
55045
55045
|
}
|
|
55046
55046
|
},
|
|
55047
55047
|
frameAtPointer: async (pos) => {
|
|
55048
55048
|
const result = await viewer.raycaster.raycastFromScreen(pos);
|
|
55049
|
-
viewer.camera.lerp(0.75).frame(result.object ?? "all");
|
|
55049
|
+
viewer.camera.lerp(0.75).frame((result == null ? void 0 : result.object) ?? "all");
|
|
55050
55050
|
},
|
|
55051
55051
|
zoom: async (value, pos) => {
|
|
55052
55052
|
if (pos) {
|