Rename SetRect to something more appropriate and tune it
This commit is contained in:
1 parent
2ba5f9ee7f
commit
879176a87f
4 files changed
+31
-27
No files matched your search
@@ -196,7 +196,7 @@ namespace VocaluxeLib.Menu
|
||||
SRectF rect = Rect.Scale(scale);
|
||||
rect.Z += zModify;
|
||||
if (texture != null)
|
||||
CHelper.SetRect(rect, out rect, texture.OrigAspect, aspect);
|
||||
rect = CHelper.FitInBounds(rect, texture.OrigAspect, aspect);
|
||||
|
||||
var color = new SColorF(Color.R, Color.G, Color.B, Color.A * Alpha);
|
||||
if (Visible || forceDraw || (CBase.Settings.GetProgramState() == EProgramState.EditTheme))
|
||||
|
||||
Reference in new issue
Block a user