|
@@ -326,8 +326,8 @@ export class new_frame extends Component {
|
|
|
this.m_data.color = this.color.getComponent(EditBox).string
|
|
|
this.m_data.transparent = parseInt(this.transparent.getComponent(EditBox).string)
|
|
|
|
|
|
- this.m_data.scale_x = parseInt(this.scale_x.getComponent(EditBox).string)
|
|
|
- this.m_data.scale_y = parseInt(this.scale_y.getComponent(EditBox).string)
|
|
|
+ this.m_data.scale_x = parseFloat(this.scale_x.getComponent(EditBox).string)
|
|
|
+ this.m_data.scale_y = parseFloat(this.scale_y.getComponent(EditBox).string)
|
|
|
}
|
|
|
|
|
|
checkAnchorXY():boolean {
|