DVUI

minSizeGet

Get the min size recorded for id from last frame or null if id was not seen last frame.

Usually you want minSize to combine min size from last frame with a min size provided by the user code.

Only valid between Window.beginand Window.end.

Parameters

#
id:Id
Id

Source

Implementation

#
pub fn minSizeGet(id: Id) ?Size {
    return currentWindow().min_sizes.get(id);
}