* Disable tooltips if using gamescope / Steam Deck.
On a Steam Deck, Prism Launcher's window is scaled to fit the screen.
Whenever a tool tip is shown, it is often display outside of the window,
causing the compositor to scale the view to fit the new bounding box.
This effect is quite jarring, and I don't like it. This patch adds a
small global event filter which swallows up the tool tip events. It is
currently not configurable, although I suppose that could be an option.
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Move tooltip filter addition from the Main Window to the Application.
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Add license information to new files
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Remove other authors, they should not have been added in the first place
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Correct the years as well
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Update launcher/ui/ToolTipFilter.cpp
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Update launcher/ui/ToolTipFilter.h
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
---------
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
fixes#4630
reversed the conditions to check for side because somewhere the mod side
is no initilized(easier to check one line than search where it is not
initialized)
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
fixes#4547
introduced by #3828
made a mistake to use addonId instead ov fileId
this only applies to modrinth
on curseforge I could not reproduce this bug
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
The skin overlay was drawn together with the original skin making it
blend weirdly. By drawing the overlay after the skin this blends with
the body corectly.
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
ATM10 server seems to send a extra json object after the default response, that we need to cut off.
Signed-off-by: Tayou <git@tayou.org>
Co-authored-by: Trial97 <alexandru.tripon97@gmail.com>
This sets our compiler requirements to gcc 11 and clang 13. If we
forgo the use of `using enum` we can drop to gcc 10 and clang 10 but
that means using `MessageLevel::Enum::Unknown` for direct enum access
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Only applies to cauldron loader which doesn't exist on Modrinth or
CurseForge, and doesn't even make sense for shaders.
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>