summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-08-15 18:40:52 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-10-17 20:38:16 +0200
commitc11d213a1436d7d20b1e6805a509f7c3d2dd8f09 (patch)
treee28331e150df39bb22ffa82119b2fb3adf59a742 /src
parent63213042ea782c76b26e1b5a9d948030d3fe9c9c (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