Fixed a memory leak with PCanvas instances registering themselves with KeyboardFocus and never unregistering themselves.
Added a Hierarchy listener so that the inputsources are installeded and uninstalled when a canvas gets added or removed to a parent. |
---|
|
core/src/main/java/edu/umd/cs/piccolo/PCanvas.java |
---|