You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Screenshots
The view is only black in a strip in the center.
Desktop:
OS: macOS
Browser Safari
Version of the browser 14.0.3 (16610.4.3.1.4)
Version of Tokamak 0.6.1
Additional context
It's simply fixed by modifying the fillWidth and fillHeight checks from minWidth == 0 to minWidth ?? 0 == 0. I'd also suggest a similar change be made when no frame is set, to implicitly make the view infinite width/height, unless there's an exception such as Text or TextField which are bound by font size.
The text was updated successfully, but these errors were encountered:
Describe the bug
Defining a full width or -height view does not match expectations, unless you set the
minWidth
orminHeight
explicitly to0
.To Reproduce
The following code fails
Expected behavior
The entire view is black.
Screenshots
The view is only black in a strip in the center.
Desktop:
Additional context
It's simply fixed by modifying the
fillWidth
andfillHeight
checks fromminWidth == 0
tominWidth ?? 0 == 0
. I'd also suggest a similar change be made when no frame is set, to implicitly make the view infinite width/height, unless there's an exception such asText
orTextField
which are bound by font size.The text was updated successfully, but these errors were encountered: