Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
cb0bb911
Commit
cb0bb911
authored
2 years ago
by
Kitty Barnett
Browse files
Options
Downloads
Patches
Plain Diff
Mini emoji helper shows as a small slice when there are no matching emojis
parent
58cdcd5d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llpanelemojicomplete.cpp
+4
-0
4 additions, 0 deletions
indra/newview/llpanelemojicomplete.cpp
indra/newview/llpanelemojicomplete.h
+2
-1
2 additions, 1 deletion
indra/newview/llpanelemojicomplete.h
with
6 additions
and
1 deletion
indra/newview/llpanelemojicomplete.cpp
+
4
−
0
View file @
cb0bb911
...
@@ -260,6 +260,10 @@ BOOL LLFloaterEmojiComplete::handleKey(KEY key, MASK mask, BOOL called_from_pare
...
@@ -260,6 +260,10 @@ BOOL LLFloaterEmojiComplete::handleKey(KEY key, MASK mask, BOOL called_from_pare
void
LLFloaterEmojiComplete
::
onOpen
(
const
LLSD
&
key
)
void
LLFloaterEmojiComplete
::
onOpen
(
const
LLSD
&
key
)
{
{
mEmojiCtrl
->
setEmojiHint
(
key
[
"hint"
].
asString
());
mEmojiCtrl
->
setEmojiHint
(
key
[
"hint"
].
asString
());
if
(
0
==
mEmojiCtrl
->
getEmojiCount
())
{
LLEmojiHelper
::
instance
().
hideHelper
();
}
}
}
BOOL
LLFloaterEmojiComplete
::
postBuild
()
BOOL
LLFloaterEmojiComplete
::
postBuild
()
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llpanelemojicomplete.h
+
2
−
1
View file @
cb0bb911
...
@@ -59,7 +59,8 @@ class LLPanelEmojiComplete : public LLUICtrl
...
@@ -59,7 +59,8 @@ class LLPanelEmojiComplete : public LLUICtrl
void
reshape
(
S32
width
,
S32
height
,
BOOL
called_from_parent
)
override
;
void
reshape
(
S32
width
,
S32
height
,
BOOL
called_from_parent
)
override
;
public
:
public
:
void
setEmojiHint
(
const
std
::
string
&
hint
);
size_t
getEmojiCount
()
const
{
return
mEmojis
.
size
();
}
void
setEmojiHint
(
const
std
::
string
&
hint
);
protected
:
protected
:
size_t
posToIndex
(
S32
x
,
S32
y
)
const
;
size_t
posToIndex
(
S32
x
,
S32
y
)
const
;
void
select
(
size_t
emoji_idx
);
void
select
(
size_t
emoji_idx
);
...
...
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