@cocreate/cursors 1.11.14 → 1.11.15
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/CHANGELOG.md +8 -0
- package/CoCreate.config.js +1 -1
- package/package.json +1 -1
- package/src/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.11.15](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.14...v1.11.15) (2022-02-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* CoCreate.config replace CoCreate.app with * ([b35233f](https://github.com/CoCreate-app/CoCreate-cursors/commit/b35233f7fd94378bd75af295e78ec82d5794e4fe))
|
|
7
|
+
* typo enviroment to environment ([572e06b](https://github.com/CoCreate-app/CoCreate-cursors/commit/572e06b9e0db5ea698bfbc7027ef331d95263df1))
|
|
8
|
+
|
|
1
9
|
## [1.11.14](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.13...v1.11.14) (2022-02-16)
|
|
2
10
|
|
|
3
11
|
|
package/CoCreate.config.js
CHANGED
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import './index.css';
|
|
|
9
9
|
const clientId = window.CoCreateSockets.clientId || uuid.generate(12);
|
|
10
10
|
const cursorBackground = randomColor();
|
|
11
11
|
|
|
12
|
-
let
|
|
12
|
+
let environment_prod = true;
|
|
13
13
|
|
|
14
14
|
let selector = "[collection][document_id][name]:not([contentEditable='false'])";
|
|
15
15
|
|
|
@@ -100,7 +100,7 @@ function drawCursors(selection) {
|
|
|
100
100
|
|
|
101
101
|
mirrorDiv = document.createElement('cursor-container');
|
|
102
102
|
mirrorDiv.id = id_mirror;
|
|
103
|
-
mirrorDiv.className = (
|
|
103
|
+
mirrorDiv.className = (environment_prod) ? 'mirror mirror_scroll mirror_color' : 'mirror mirror_scroll';
|
|
104
104
|
mirrorDiv.contentEditable = false;
|
|
105
105
|
mirrorDiv.element = element;
|
|
106
106
|
element.insertAdjacentElement('afterend', mirrorDiv);
|