mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
NotificationServer: Update locations of notifications after closing one
When multiple notifications are open and one notification in the beginning or in the middle is closed the location of the remaining notification windows are updated so that there is no gap between them.
This commit is contained in:
parent
14de45296e
commit
401becb922
2 changed files with 25 additions and 4 deletions
|
@ -35,6 +35,7 @@ class NotificationWindow final : public GUI::Window {
|
|||
|
||||
public:
|
||||
virtual ~NotificationWindow() override;
|
||||
void set_original_rect(Gfx::Rect original_rect) { m_original_rect = original_rect; };
|
||||
|
||||
private:
|
||||
NotificationWindow(const String& text, const String& title, const String& icon_path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue