Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
ed36c99f
Commit
ed36c99f
authored
11 months ago
by
Aleksandras Kostarevas
Browse files
Options
Downloads
Patches
Plain Diff
Fix emoji tone popup being misplaced for 1 frame
parent
efac63ac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!7
Merge model-metadata to master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/src/org/futo/inputmethod/latin/uix/actions/EmojiAction.kt
+1
-2
1 addition, 2 deletions
...src/org/futo/inputmethod/latin/uix/actions/EmojiAction.kt
with
1 addition
and
2 deletions
java/src/org/futo/inputmethod/latin/uix/actions/EmojiAction.kt
+
1
−
2
View file @
ed36c99f
...
@@ -226,6 +226,7 @@ fun Emojis(
...
@@ -226,6 +226,7 @@ fun Emojis(
var
viewWidth
by
remember
{
mutableIntStateOf
(
0
)
}
var
viewWidth
by
remember
{
mutableIntStateOf
(
0
)
}
var
viewHeight
by
remember
{
mutableIntStateOf
(
0
)
}
var
viewHeight
by
remember
{
mutableIntStateOf
(
0
)
}
var
popupSize
by
remember
{
mutableStateOf
(
IntSize
(
0
,
0
))
}
Box
(
modifier
=
modifier
)
{
Box
(
modifier
=
modifier
)
{
AndroidView
(
AndroidView
(
...
@@ -267,8 +268,6 @@ fun Emojis(
...
@@ -267,8 +268,6 @@ fun Emojis(
)
)
activePopup
?.
let
{
popupInfo
->
activePopup
?.
let
{
popupInfo
->
var
popupSize
by
remember
{
mutableStateOf
(
IntSize
(
0
,
0
))
}
val
posX
=
popupInfo
.
x
-
popupSize
.
width
/
2
val
posX
=
popupInfo
.
x
-
popupSize
.
width
/
2
val
posY
=
popupInfo
.
y
-
popupSize
.
height
val
posY
=
popupInfo
.
y
-
popupSize
.
height
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment