mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Fixed a crash when minimizing
Test brush respects opacity setting
This commit is contained in:
1 parent
3975df2dd2
commit
9367f07189
5 files changed
+50
-31
No files matched your search
@@ -148,6 +148,9 @@ namespace Artemis.UI.Services
|
||||
/// <inheritdoc />
|
||||
public Rect GetShapeRenderRect(LayerShape layerShape)
|
||||
{
|
||||
if (layerShape == null)
|
||||
return Rect.Empty;
|
||||
|
||||
// Adjust the render rectangle for the difference in render scale
|
||||
var renderScale = _settingsService.GetSetting("Core.RenderScale", 1.0).Value;
|
||||
return new Rect(
|
||||
|
||||
Reference in new issue
Block a user