1
0
Fork 0
fgdata/Nasal/canvas/api
TheFGFSEagle 724fad6701 Fix placements not being removed when destroying a canvas
Canvas placements are being added / removed through a listener on "placement" node adds / removals on the canvas's node.
Previously, when the canvas's del method was called, the canvas's node was removed, but not its "placement" subnodes.
This caused the canvas to be destroyed without the placements being removed.
This in turn causes problems when setting up a canvas with the same placement(s).
This is fixed by this commit by removing the "placement" nodes separately before destroying the canvas.
2023-12-09 18:08:55 +00:00
..
canvas.nas Fix placements not being removed when destroying a canvas 2023-12-09 18:08:55 +00:00
colors.nas move colors from draw.nas to api/colors.nas 2020-07-06 10:09:26 +01:00
element.nas More robust rotation center handling 2023-04-17 15:13:18 +01:00
group.nas replace typeof() == foo with isFoo 2020-05-17 20:03:43 +01:00
helpers.nas replace typeof() == foo with isFoo 2020-05-17 20:03:43 +01:00
image.nas replace typeof() == foo with isFoo 2020-05-17 20:03:43 +01:00
map.nas improve code readability 2020-04-30 08:59:25 +01:00
path.nas replace typeof() == foo with isFoo 2020-05-17 20:03:43 +01:00
svgcanvas.nas Add ‘del’ method to SVGCanvas 2020-08-02 11:06:19 +01:00
svgcanvas.nut extract base class SVGCanvas from EFIS framework to canvas/api/svgcanvas.nas 2020-07-06 10:09:33 +01:00
text.nas make font_mapper more configurable 2020-05-05 13:52:00 +01:00
transform.nas replace typeof() == foo with isFoo 2020-05-17 20:03:43 +01:00