Skip to content

PanelDrawOptions beta ​

Interface of @v12-engine/editor

ts
export interface PanelDrawOptions

How a panel's drawing is kept (panel.draw)

Members ​

again ​

ts
again?: boolean | ((change: MapChange) => boolean);

Made again as the map changes (map.changed): on every change (true), or on those the function says yes to ((change) => change.parts.has('paths')). Kept as it was made when left out. Made again only while it shows; a change while it is hidden makes it again as it shows

hidden ​

ts
hidden?: boolean;

Drawn while the panel cannot be seen too (behind another's tab, put away). Only while it shows, when left out

onTop ​

ts
onTop?: boolean;

Seen through everything, as the handles of the selection are: in the world, hidden by what is before it, when left out