Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/windowing/StarCanvasWidget.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-05 18:25:16 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-05 18:25:16 +1000
commit54dfd900cab72d9efeff7df35c3a73e9be76bb18 (patch)
tree0439adfa8ea801d630db46c794f21032948569ed /source/windowing/StarCanvasWidget.cpp
parentc923f4f13b1cade968bb6fec585a242b62d35715 (diff)
interface.bindCanvas uses interface scale by default
Diffstat (limited to 'source/windowing/StarCanvasWidget.cpp')
-rw-r--r--source/windowing/StarCanvasWidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/windowing/StarCanvasWidget.cpp b/source/windowing/StarCanvasWidget.cpp
index 7bff638..ed2e30f 100644
--- a/source/windowing/StarCanvasWidget.cpp
+++ b/source/windowing/StarCanvasWidget.cpp
@@ -18,6 +18,10 @@ void CanvasWidget::setIgnoreInterfaceScale(bool ignoreInterfaceScale) {
m_ignoreInterfaceScale = ignoreInterfaceScale;
}
+bool CanvasWidget::ignoreInterfaceScale() const {
+ return m_ignoreInterfaceScale;
+}
+
void CanvasWidget::clear() {
m_renderOps.clear();
}