js-draw 1.2.0 → 1.2.2

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # js-draw
2
2
 
3
- [NPM package](https://www.npmjs.com/package/js-draw) | [GitHub](https://github.com/personalizedrefrigerator/js-draw) | [Documentation](https://personalizedrefrigerator.github.io/js-draw/typedoc/) | [Try it!](https://personalizedrefrigerator.github.io/js-draw/example/example.html)
3
+ [NPM package](https://www.npmjs.com/package/js-draw) | [GitHub](https://github.com/personalizedrefrigerator/js-draw) | [Documentation](https://personalizedrefrigerator.github.io/js-draw/typedoc/modules/js_draw.html) | [Try it!](https://personalizedrefrigerator.github.io/js-draw/example/example.html)
4
4
 
5
5
  ![](docs/img/readme-images/js-draw.jpg)
6
6
 
package/dist/Editor.css CHANGED
@@ -246,6 +246,8 @@
246
246
  align-items: center;
247
247
  justify-content: center;
248
248
  padding: 4px;
249
+ user-select: none;
250
+ -webkit-user-select: none;
249
251
  }
250
252
  .toolbar-grid-selector .choice-button .icon {
251
253
  flex-grow: 1;
@@ -255,6 +257,7 @@
255
257
  .toolbar-grid-selector .choice-button.checked {
256
258
  background-color: var(--selection-background-color);
257
259
  color: var(--selection-foreground-color);
260
+ --icon-color: var(--selection-foreground-color);
258
261
  }
259
262
 
260
263
  /* The *main* root toolbar element */
@@ -303,6 +306,8 @@
303
306
  border-radius: 6px;
304
307
  border: none;
305
308
  box-shadow: 0px 0px 2px var(--shadow-color);
309
+ user-select: none;
310
+ -webkit-user-select: none;
306
311
  transition: background-color 0.15s ease, box-shadow 0.25s ease, opacity 0.2s ease;
307
312
  }
308
313