@noya-app/noya-geometry
Advanced tools
Comparing version 0.1.1 to 0.1.2
# @noya-app/noya-geometry | ||
## 0.1.2 | ||
### Patch Changes | ||
- 6a13e8b: Improve multiplayer and design system | ||
## 0.1.1 | ||
@@ -4,0 +10,0 @@ |
@@ -88,3 +88,5 @@ type Point = { | ||
get tx(): number; | ||
set tx(value: number); | ||
get ty(): number; | ||
set ty(value: number); | ||
get scaleComponents(): Point; | ||
@@ -91,0 +93,0 @@ get translationComponents(): Point; |
@@ -266,5 +266,11 @@ "use strict"; | ||
} | ||
set tx(value) { | ||
this.m02 = value; | ||
} | ||
get ty() { | ||
return this.m12; | ||
} | ||
set ty(value) { | ||
this.m12 = value; | ||
} | ||
get scaleComponents() { | ||
@@ -271,0 +277,0 @@ return { x: this.a, y: this.d }; |
{ | ||
"name": "@noya-app/noya-geometry", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/index.mjs", |
@@ -244,2 +244,6 @@ import { normalizeRect } from "./normalize"; | ||
set tx(value: number) { | ||
this.m02 = value; | ||
} | ||
get ty() { | ||
@@ -249,2 +253,6 @@ return this.m12; | ||
set ty(value: number) { | ||
this.m12 = value; | ||
} | ||
get scaleComponents(): Point { | ||
@@ -251,0 +259,0 @@ return { x: this.a, y: this.d }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
152233
2414