Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
1f644992
Commit
1f644992
authored
May 21, 2017
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qtvirtualkeyboard: Use a white handwriting trace for better readability
parent
e62d8f4d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
0001-defaultStyle-Use-a-white-handwriting-trace-for-bette.patch
...efaultStyle-Use-a-white-handwriting-trace-for-bette.patch
+33
-0
qtvirtualkeyboard_git.bbappend
recipes-qt/qt5/qtvirtualkeyboard_git.bbappend
+2
-0
No files found.
recipes-qt/qt5/qtvirtualkeyboard/0001-defaultStyle-Use-a-white-handwriting-trace-for-bette.patch
0 → 100644
View file @
1f644992
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
recipes-qt/qt5/qtvirtualkeyboard_git.bbappend
0 → 100644
View file @
1f644992
FILESEXTRAPATHS_prepend := "${THISDIR}/qtvirtualkeyboard:"
SRC_URI += " file://0001-defaultStyle-Use-a-white-handwriting-trace-for-bette.patch"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment