Reduce minimum scaling value and fix aliasing issues with small fonts and rasterization.
This commit is contained in:
@@ -26,7 +26,12 @@ import "utils.js" as Utils
|
||||
QtObject{
|
||||
property string version: "1.0.0 RC1"
|
||||
|
||||
// GENERAL SETTINGS ///////////////////////////////////////////////////
|
||||
// STATIC CONSTANTS ////////////////////////////////////////////////////////
|
||||
|
||||
readonly property real minimumFontScaling: 0.25
|
||||
readonly property real maximumFontScaling: 2.50
|
||||
|
||||
// GENERAL SETTINGS ///////////////////////////////////////////////////////
|
||||
|
||||
property bool fullscreen: false
|
||||
property bool showMenubar: true
|
||||
@@ -114,12 +119,12 @@ QtObject{
|
||||
}
|
||||
|
||||
function incrementScaling(){
|
||||
fontScaling = Math.min(fontScaling + 0.05, 2.50);
|
||||
fontScaling = Math.min(fontScaling + 0.05, maximumFontScaling);
|
||||
handleFontChanged();
|
||||
}
|
||||
|
||||
function decrementScaling(){
|
||||
fontScaling = Math.max(fontScaling - 0.05, 0.50);
|
||||
fontScaling = Math.max(fontScaling - 0.05, minimumFontScaling);
|
||||
handleFontChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user