We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9003c24 commit 029fb6dCopy full SHA for 029fb6d
include/dskdc.h
@@ -76,12 +76,13 @@ class dskDC : public piDC {
76
/// \return The scale factor
77
double GetContentScaleFactor() const
78
{
79
- if (glcanvas) {
80
- return glcanvas->GetContentScaleFactor();
81
- } else if (dc) {
82
- return dc->GetContentScaleFactor();
83
- } else
84
- return m_scale_factor;
+ // TODO: For some reason the bellow seems crashing on flatpak
+ // if (glcanvas) {
+ // return glcanvas->GetContentScaleFactor();
+ // } else if (dc) {
+ // return dc->GetContentScaleFactor();
+ // } else
85
+ return m_scale_factor;
86
};
87
88
/// Set the scale factor of the device context
0 commit comments