mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[PyCharm] Jupyter (feat): "graphics.create() as Graphics2D"... replaced to short and proper useG2D. (fixed bug) #PY-81847 Ready For Merge
GitOrigin-RevId: 68cba3230796dd4506de8477f43735e4cd2948d9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
53243d7b8f
commit
3390b0bc7c
+1
-1
@@ -24,7 +24,7 @@ inline fun Graphics.useG2D(handler: (Graphics2D) -> Unit) {
|
||||
handler(g2d)
|
||||
}
|
||||
finally {
|
||||
dispose()
|
||||
g2d.dispose()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user