diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-08-15 18:40:52 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-10-17 20:38:16 +0200 |
commit | c11d213a1436d7d20b1e6805a509f7c3d2dd8f09 (patch) | |
tree | e28331e150df39bb22ffa82119b2fb3adf59a742 /src | |
parent | 63213042ea782c76b26e1b5a9d948030d3fe9c9c (diff) |
Set the viewport width as initial width value
When the initial width is -1, the contrainsts of min-width and max-width
are not applied. If we set the viewport width after calcFinalWidth() it
may exceed max-width. It is guaranteed to return a value different from
-1 when the initial width is positive.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions