Skip to content

Commit

Permalink
Updated FinishSelection in Document.cs to use DrawWithOperator to for…
Browse files Browse the repository at this point in the history
…ce the use of Operator.Source when committing the selection layer.
  • Loading branch information
logiclrd committed Jun 13, 2024
1 parent 0635255 commit 33717ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pinta.Core/Classes/Document.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public void FinishSelection ()

var g = new Cairo.Context (Layers.CurrentUserLayer.Surface);
selection.Clip (g);
layer.Draw (g);
layer.DrawWithOperator (g, Operator.Source, opacity: 1.0, transform: true, clipToPath: null);

Layers.DestroySelectionLayer ();

Check failure on line 217 in Pinta.Core/Classes/Document.cs

View workflow job for this annotation

GitHub Actions / build-ubuntu (7.0.x)

The best overload for 'DrawWithOperator' does not have a parameter named 'clipToPath'

Check failure on line 217 in Pinta.Core/Classes/Document.cs

View workflow job for this annotation

GitHub Actions / build-ubuntu (7.0.x)

The best overload for 'DrawWithOperator' does not have a parameter named 'clipToPath'

Check failure on line 217 in Pinta.Core/Classes/Document.cs

View workflow job for this annotation

GitHub Actions / build-ubuntu (8.0.x)

The best overload for 'DrawWithOperator' does not have a parameter named 'clipToPath'

Check failure on line 217 in Pinta.Core/Classes/Document.cs

View workflow job for this annotation

GitHub Actions / build-ubuntu (8.0.x)

The best overload for 'DrawWithOperator' does not have a parameter named 'clipToPath'

Check failure on line 217 in Pinta.Core/Classes/Document.cs

View workflow job for this annotation

GitHub Actions / build-windows

The best overload for 'DrawWithOperator' does not have a parameter named 'clipToPath'

Check failure on line 217 in Pinta.Core/Classes/Document.cs

View workflow job for this annotation

GitHub Actions / build-windows

The best overload for 'DrawWithOperator' does not have a parameter named 'clipToPath'

Check failure on line 217 in Pinta.Core/Classes/Document.cs

View workflow job for this annotation

GitHub Actions / build-macos

The best overload for 'DrawWithOperator' does not have a parameter named 'clipToPath'

Check failure on line 217 in Pinta.Core/Classes/Document.cs

View workflow job for this annotation

GitHub Actions / build-macos

The best overload for 'DrawWithOperator' does not have a parameter named 'clipToPath'
Workspace.Invalidate ();
Expand Down

0 comments on commit 33717ed

Please sign in to comment.