@fileverse-dev/fortune-react 1.2.63 → 1.2.64
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.
|
@@ -290,7 +290,7 @@ var FxEditor = function FxEditor() {
|
|
|
290
290
|
var startHeight = divRef.current.offsetHeight;
|
|
291
291
|
var onMouseMove = function onMouseMove(ev) {
|
|
292
292
|
var newHeight = startHeight + (ev.clientY - startY);
|
|
293
|
-
divRef.current.style.height = Math.max(newHeight, 20)
|
|
293
|
+
divRef.current.style.height = "".concat(Math.max(newHeight, 20), "px");
|
|
294
294
|
};
|
|
295
295
|
var _onMouseUp = function onMouseUp() {
|
|
296
296
|
setIsResizing(false);
|
|
@@ -299,7 +299,7 @@ var FxEditor = function FxEditor() {
|
|
|
299
299
|
var startHeight = divRef.current.offsetHeight;
|
|
300
300
|
var onMouseMove = function onMouseMove(ev) {
|
|
301
301
|
var newHeight = startHeight + (ev.clientY - startY);
|
|
302
|
-
divRef.current.style.height = Math.max(newHeight, 20)
|
|
302
|
+
divRef.current.style.height = "".concat(Math.max(newHeight, 20), "px");
|
|
303
303
|
};
|
|
304
304
|
var _onMouseUp = function onMouseUp() {
|
|
305
305
|
setIsResizing(false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.64",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "lib/index.d.ts",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"tsc": "tsc"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@fileverse-dev/fortune-core": "1.2.
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.2.64",
|
|
20
20
|
"@fileverse/ui": "^4.1.7-patch-40",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|