Fix pre-heat button being ocluded by tooltip

Fixes #9891
This commit is contained in:
Jaime van Kessel 2021-06-01 11:40:20 +02:00
parent 8e12d49160
commit 4f49a38168
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -173,7 +173,7 @@ Item
{
base.showTooltip(
base,
{x: 0, y: preheatTemperatureInputMouseArea.mapToItem(base, 0, 0).y},
{x: 0, y: preheatTemperatureInputMouseArea.mapToItem(base, 0, -parent.height/2).y},
catalog.i18nc("@tooltip of temperature input", "The temperature to pre-heat the hotend to.")
);
}
@ -366,7 +366,7 @@ Item
{
base.showTooltip(
base,
{x: 0, y: preheatButton.mapToItem(base, 0, 0).y},
{x: 0, y: preheatButton.mapToItem(base, 0, -parent.height).y},
catalog.i18nc("@tooltip of pre-heat", "Heat the hotend in advance before printing. You can continue adjusting your print while it is heating, and you won't have to wait for the hotend to heat up when you're ready to print.")
);
}