Browse Source

address review

pull/5683/head
Jumar Macato 5 years ago
parent
commit
077b2cbfd1
No known key found for this signature in database GPG Key ID: B19884DAC3A5BF3F
  1. 4
      src/Avalonia.Visuals/Rendering/SceneGraph/DeferredDrawingContextImpl.cs
  2. 4
      src/Windows/Avalonia.Direct2D1/Media/DrawingContextImpl.cs

4
src/Avalonia.Visuals/Rendering/SceneGraph/DeferredDrawingContextImpl.cs

@ -257,7 +257,7 @@ namespace Avalonia.Rendering.SceneGraph
/// <inheritdoc/>
public void PopBitmapBlendMode()
{
var next = NextDrawAs<OpacityNode>();
var next = NextDrawAs<BitmapBlendModeNode>();
if (next == null || !next.Item.Equals(null))
{
@ -377,7 +377,7 @@ namespace Avalonia.Rendering.SceneGraph
/// <inheritdoc/>
public void PushBitmapBlendMode(BitmapBlendingMode blendingMode)
{
var next = NextDrawAs<OpacityNode>();
var next = NextDrawAs<BitmapBlendModeNode>();
if (next == null || !next.Item.Equals(blendingMode))
{

4
src/Windows/Avalonia.Direct2D1/Media/DrawingContextImpl.cs

@ -559,12 +559,12 @@ namespace Avalonia.Direct2D1.Media
public void PushBitmapBlendMode(BitmapBlendingMode blendingMode)
{
// Stubs for now
// TODO: Stubs for now
}
public void PopBitmapBlendMode()
{
// Stubs for now
// TODO: Stubs for now
}
public void PushOpacityMask(IBrush mask, Rect bounds)

Loading…
Cancel
Save