This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Set the oversampling ratio for both high-def and standard-def displays, so that moving from one to the other always sets the appropriate ratio. /VCVRack/issues/issues/100
tags/v2.3.0
richiehindle
1 year ago
parent
13aad032f4
commit
8ccd9f7e58
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/app/SvgPanel.cpp
+ 2
- 0
src/app/SvgPanel.cpp
View File
@@ -32,6 +32,8 @@ void SvgPanel::step() {
if (APP->window->pixelRatio < 2.0) {
// Small details draw poorly at low DPI, so oversample when drawing to the framebuffer
fb->oversample = 2.0;
} else {
fb->oversample = 1.0;
}
Widget::step();
Write
Preview
Loading…
Cancel
Save