Skip to content

Commit

Permalink
Set default broadcast window (min) size to 100x100
Browse files Browse the repository at this point in the history
  • Loading branch information
black-sliver committed Jan 9, 2025
1 parent 02aa22f commit 5d6b084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/broadcastwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Ui {

BroadcastWindow::BroadcastWindow(const char* title, SDL_Surface* icon, const Position& pos, const Size& size)
: TrackerWindow(title, icon, pos, size)
: TrackerWindow(title, icon, pos, {size.width < 1 ? 100 : size.width, size.height < 1 ? 100:size.height})
{
if (size.width<1 || size.height<1) resize({100,100});
}
Expand Down

0 comments on commit 5d6b084

Please sign in to comment.