Facepunch / sbox-issues

176 stars 12 forks source link

[UI Inspector] Div highlight becomes mismatched if you go into fullscreen and back out #5503

Open Retroeer opened 5 months ago

Retroeer commented 5 months ago

Describe the bug

If you try and look at a div that has a width and height of 100%, if you fullscreen and unfullscreen the outline breaks

To Reproduce

<div style="width: 100%; height: 100%;"></div>

then inspect it via the ui panel window, fullscreen and then back out, the div highlight should be mismatched

Expected behavior

the highlight should be stretching to the exact measurements

Media/Files

No response

Additional context

No response

Retroeer commented 5 months ago

Correction: this actually only occurs when you close and reopen the UI inspector (in different screen sizes)