Merge pull request #3982 from fieldOfView/fix_dark_theme_artefact

Fix a bright line/gap between the viewport and sidebar due to rounding
This commit is contained in:
Mark 2018-07-02 16:50:56 +02:00 committed by GitHub
commit 1f51d83fa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,8 @@ UM.MainWindow
viewportRect: Qt.rect(0, 0, (base.width - sidebar.width) / base.width, 1.0)
property bool showPrintMonitor: false
backgroundColor: UM.Theme.getColor("viewport_background")
// This connection is here to support legacy printer output devices that use the showPrintMonitor signal on Application to switch to the monitor stage
// It should be phased out in newer plugin versions.
Connections