Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
squeekboard
Commits
55f7a0d0
Commit
55f7a0d0
authored
Aug 15, 2011
by
Daiki Ueno
Browse files
Make sure large key does not overlap with the small key.
parent
7919cc19
Changes
1
Hide whitespace changes
Inline
Side-by-side
eek/eek-gtk-keyboard.c
View file @
55f7a0d0
...
...
@@ -419,7 +419,7 @@ magnify_bounds (GtkWidget *self,
large_bounds
->
height
=
bounds
->
height
*
scale
;
x
=
bounds
->
x
-
(
large_bounds
->
width
-
bounds
->
width
)
/
2
;
y
=
bounds
->
y
-
large_bounds
->
height
+
bounds
->
height
/
2
;
y
=
bounds
->
y
-
large_bounds
->
height
;
large_bounds
->
x
=
CLAMP
(
x
,
0
,
allocation
.
width
-
large_bounds
->
width
);
large_bounds
->
y
=
CLAMP
(
y
,
0
,
allocation
.
height
-
large_bounds
->
height
);
...
...
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