Commit 1f644992 authored by Florent Revest's avatar Florent Revest

qtvirtualkeyboard: Use a white handwriting trace for better readability

parent e62d8f4d
From eaba7ff8ba7efbfae455d937d0bb2f2d41d17991 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Sun, 21 May 2017 15:26:08 +0200
Subject: [PATCH] defaultStyle: Use a white handwriting trace for better
readability
---
src/virtualkeyboard/content/styles/default/style.qml | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/virtualkeyboard/content/styles/default/style.qml b/src/virtualkeyboard/content/styles/default/style.qml
index fa9c699..90db8e7 100644
--- a/src/virtualkeyboard/content/styles/default/style.qml
+++ b/src/virtualkeyboard/content/styles/default/style.qml
@@ -812,13 +812,8 @@ KeyboardStyle {
if (!available)
return
var ctx = getContext("2d")
- if (parent.canvasType === "fullscreen") {
- ctx.lineWidth = 10
- ctx.strokeStyle = Qt.rgba(0, 0, 0)
- } else {
- ctx.lineWidth = 10 * scaleHint
- ctx.strokeStyle = Qt.rgba(0xFF, 0xFF, 0xFF)
- }
+ ctx.lineWidth = 10
+ ctx.strokeStyle = Qt.rgba(0xFF, 0xFF, 0xFF)
ctx.lineCap = "round"
ctx.fillStyle = ctx.strokeStyle
}
--
2.11.0
FILESEXTRAPATHS_prepend := "${THISDIR}/qtvirtualkeyboard:"
SRC_URI += " file://0001-defaultStyle-Use-a-white-handwriting-trace-for-bette.patch"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment