Fixed a crash when minimizing

Test brush respects opacity setting
This commit is contained in:
Robert committed 2020-01-23 14:31:05 +01:00
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(