Some tweaks to the capture GUI (#1841)

* Don't show buttons if selection is inactive

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Move tool creates new selection if not visible

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Make thickness adjustment methods uniform

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Hide  cursor while changing thickness

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
This commit is contained in:
Haris Gušić
2021-08-24 17:28:48 +02:00
committed by GitHub
parent 22c9ea1f47
commit ac3e918960
4 changed files with 54 additions and 43 deletions

View File

@@ -57,3 +57,8 @@ void NotifierBox::showColor(const QColor& color)
Q_UNUSED(color)
m_message = QLatin1String("");
}
void NotifierBox::hideEvent(QHideEvent* event)
{
emit hidden();
}