mod(container): provide minSize function for Element implementation to refer for nested structures
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m6s
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m6s
This commit is contained in:
+1
-1
@@ -303,7 +303,7 @@ pub fn Scrollable(Model: type, Event: type) type {
|
||||
const last_max_anchor_y = this.container_size.y -| this.size.y;
|
||||
|
||||
// NOTE `container_size` denotes the `size` required for the container contents
|
||||
var container_size = this.container.element.minSize(model, size);
|
||||
var container_size = this.container.minSize(model, size);
|
||||
if (this.configuration.scrollbar) {
|
||||
this.configuration.y_axis = this.container.properties.size.dim.x > size.x or container_size.x > size.x;
|
||||
this.configuration.x_axis = this.container.properties.size.dim.y > size.y or container_size.y > size.y;
|
||||
|
||||
Reference in New Issue
Block a user