Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

### Changed
- Default values for Vec2 are now 0,0 instead of 1,1.


## [0.17.1] 2022-11-13
- Fixed a bug where pasting an entity would insert those entities twice.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export class Vec2WidgetComponent extends AbstractWidget implements OnChanges {
if (!this.settings[this.key]) {
const minSize = this.scaleSettings.baseSize;
const value = {
x: minSize.x > 0 ? minSize.x : 1,
y: minSize.y > 0 ? minSize.y : 1
x: minSize.x > 0 ? minSize.x : 0,
y: minSize.y > 0 ? minSize.y : 0
};
this.settings[this.key] = value;
this.updateType(value);
Expand Down