scorer-ui-kit 1.2.7-liveboard-patch.2 → 1.2.7-liveboard-patch.3
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/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4060,10 +4060,12 @@ var LineUI = function LineUI(_ref) {
|
|
|
4060
4060
|
};
|
|
4061
4061
|
|
|
4062
4062
|
React.useEffect(function () {
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4063
|
+
if (loaded && frame.current) {
|
|
4064
|
+
var ctm = frame.current.getScreenCTM();
|
|
4065
|
+
setScreenCTM(ctm);
|
|
4066
|
+
setBoundaries(getCanvasBounds());
|
|
4067
|
+
}
|
|
4068
|
+
}, [imgSize, loaded]);
|
|
4067
4069
|
React.useEffect(function () {
|
|
4068
4070
|
window.addEventListener("resize", initScaleAndBounds);
|
|
4069
4071
|
return function () {
|