(value: SignalValue<PossibleVector2>)
| 339 | } |
| 340 | |
| 341 | protected setAbsoluteScale(value: SignalValue<PossibleVector2>) { |
| 342 | this.scale( |
| 343 | modify(value, unwrapped => this.getRelativeScale(new Vector2(unwrapped))), |
| 344 | ); |
| 345 | } |
| 346 | |
| 347 | private getRelativeScale(scale: Vector2): Vector2 { |
| 348 | const parentScale = this.parent()?.absoluteScale() ?? Vector2.one; |
nothing calls this directly
no test coverage detected