You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FlashDevelop/MainForm.cs
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1683,10 +1683,8 @@ public IPlugin FindPlugin(String guid)
1683
1683
/// <summary>
1684
1684
/// Finds the specified composed/ready image that is automatically adjusted according to the theme.
1685
1685
/// <para/>
1686
-
/// WARNING! Do not call <see cref="ScaleHelper.Scale(Bitmap)"/> on the image returned by this method.
1687
-
/// Instead, call it before passing the image to this method.
1686
+
/// If you make a copy of the image returned by this method, the copy will not be automatically adjusted.
1688
1687
/// </summary>
1689
-
// TODO: Find all references to this method that creates a copy of the image returned, such as adding it to ImageList, and call FindImage(image, false) instead.
1690
1688
publicImageFindImage(Stringdata)
1691
1689
{
1692
1690
returnFindImage(data,true);
@@ -1695,8 +1693,7 @@ public Image FindImage(String data)
1695
1693
/// <summary>
1696
1694
/// Finds the specified composed/ready image.
1697
1695
/// <para/>
1698
-
/// WARNING! Do not call <see cref="ScaleHelper.Scale(Bitmap)"/> on the image returned by this method if <code>autoAdjusted</code> is <code>true</code>.
1699
-
/// Instead, call it before passing the image to this method.
1696
+
/// If you make a copy of the image returned by this method, the copy will not be automatically adjusted, even if <code>autoAdjusted</code> is <code>true</code>.
0 commit comments