@painekillers/tree-builder-core 1.2.0 → 1.2.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@painekillers/tree-builder-core",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.js",
package/themes/dark.js CHANGED
@@ -105,6 +105,8 @@ export default {
105
105
 
106
106
  ctx.globalAlpha = object.hovered ? 1 : 0.92
107
107
 
108
+ ctx.imageSmoothingEnabled = false;
109
+
108
110
  if (tile) {
109
111
  ctx.drawImage(
110
112
  object.image,
package/themes/default.js CHANGED
@@ -174,6 +174,8 @@ export default {
174
174
 
175
175
  ctx.globalAlpha = object.hovered ? 1 : 0.92
176
176
 
177
+ ctx.imageSmoothingEnabled = false;
178
+
177
179
  if (tile) {
178
180
  ctx.drawImage(
179
181
  object.image,