rbreslow / speak

A full featured chatbox addon for Garry's Mod.
GNU Affero General Public License v3.0
4 stars 0 forks source link

Chatbox can leave screen bounds after screen size changes #22

Open rbreslow opened 4 years ago

rbreslow commented 4 years ago

For example, my speak_chatbox_y was set to 594. When I adjusted my screen's resolution to 1024 x 576 the chatbox disappeared from the screen.

We should implement PANEL:OnScreenSizeChanged for the chatbox and have it clamp speak_chatbox_x and speak_chatbox_y to the current screen resolution.