layerpro 0.0.61 → 0.0.62
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/package.json
CHANGED
package/scripts/mouseCoords.jsx
CHANGED
package/scripts/popup.jsx
CHANGED
|
@@ -5,7 +5,7 @@ License: MIT
|
|
|
5
5
|
|
|
6
6
|
//import React, { useState, useEffect } from "react";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { genLayer } from "./genLayer.jsx"
|
|
9
9
|
import { mouseCoord } from "./mouseCoords.jsx"
|
|
10
10
|
import "./message.jsx"
|
|
11
11
|
|
|
@@ -93,7 +93,7 @@ export const popup = {
|
|
|
93
93
|
|
|
94
94
|
// Creation of final PopUp (avoid to recreate if same id exist)
|
|
95
95
|
if ($('.popup_window_' + p.id, '#popup').length === 0) {
|
|
96
|
-
|
|
96
|
+
genLayer(p)
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
/*******************************************************************/
|
|
@@ -348,7 +348,7 @@ export const popup = {
|
|
|
348
348
|
}
|
|
349
349
|
})
|
|
350
350
|
|
|
351
|
-
_dragger.on('dblclick', function (
|
|
351
|
+
_dragger.on('dblclick', function (e) {
|
|
352
352
|
layerpro.popup.maximize(p)
|
|
353
353
|
})
|
|
354
354
|
|