浏览代码

Merge pull request #388 from UnityTech/fix_bug

Fix bug in shifted box.
/main
GitHub 5 年前
当前提交
4dc6081c
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 8
      Runtime/rendering/shifted_box.cs

8
Runtime/rendering/shifted_box.cs


public float? widthFactor {
get { return this._widthFactor; }
set {
if (this._widthFactor != value) {
if (this._widthFactor == value) {
return;
}

public float? heightFactor {
get { return this._heightFactor; }
set {
if (this._heightFactor != value) {
if (this._heightFactor == value) {
return;
}

public float baseline {
get { return this._baseline; }
set {
if (this._baseline != value) {
if (this._baseline == value) {
return;
}

public TextBaseline baselineType {
get { return this._baselineType; }
set {
if (this._baselineType != value) {
if (this._baselineType == value) {
return;
}

正在加载...
取消
保存