Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
reportmill committed Sep 30, 2021
2 parents 024f25a + cf7a418 commit 9e491bd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/snap/view/StringView.java
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,17 @@ protected double getPrefHeightImpl(double aW)
return textH + ins.getHeight();
}

/**
* A paint method for painting StringView outside of View hierarchy.
*/
public void paintStringView(Painter aPntr)
{
aPntr.save();
aPntr.transform(getLocalToParent());
paintAll(aPntr);
aPntr.restore();
}

/**
* Paints StringView.
*/
Expand Down

0 comments on commit 9e491bd

Please sign in to comment.