tosijs-ui 1.4.5 → 1.4.7
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/float.js +3 -0
- package/dist/iife.js +57 -57
- package/dist/iife.js.map +6 -6
- package/dist/localize.js +2 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/dist/float.js
CHANGED
|
@@ -106,6 +106,9 @@ export class TosiFloat extends WebComponent {
|
|
|
106
106
|
},
|
|
107
107
|
};
|
|
108
108
|
reposition = (event) => {
|
|
109
|
+
if (event instanceof MouseEvent && event.button !== 0) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
109
112
|
const target = event.target;
|
|
110
113
|
if (target?.closest('.no-drag')) {
|
|
111
114
|
return;
|