mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-16 20:17:30 +08:00
Restore UpdateWidgetTransform for Capsule Extent
After manual merging, UpdateWidgetTransform was removed from the Extent capsule. This was a mistake. Updating the widget is especially necessary in cases where we entered a value significantly different from the previous one manually for Extent and then continued to use scaling.
This commit is contained in:
parent
8dc6731228
commit
98fe75b191
@ -804,7 +804,6 @@ namespace CodeWalker.Forms
|
|||||||
selectedLight.Flashiness = v;
|
selectedLight.Flashiness = v;
|
||||||
UpdateLightParams();
|
UpdateLightParams();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void LightHash_ValueChanged(object sender, EventArgs e)
|
private void LightHash_ValueChanged(object sender, EventArgs e)
|
||||||
@ -852,6 +851,7 @@ namespace CodeWalker.Forms
|
|||||||
if (selectedLight.Extent != v)
|
if (selectedLight.Extent != v)
|
||||||
{
|
{
|
||||||
selectedLight.Extent = v;
|
selectedLight.Extent = v;
|
||||||
|
UpdateWidgetTransform();
|
||||||
UpdateLightParams();
|
UpdateLightParams();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user