summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelemojicomplete.h
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2022-10-23 17:51:22 +0200
committerKitty Barnett <develop@catznip.com>2022-10-23 16:29:20 +0200
commitcb0bb91108b628e1134f1f655eaca9d305961cda (patch)
tree5dead06f32803b23b8935ada7ae0fff9b7ae4073 /indra/newview/llpanelemojicomplete.h
parent58cdcd5dd23778c6fad9fa0da31b670ceff8eeeb (diff)
Mini emoji helper shows as a small slice when there are no matching emojis
Diffstat (limited to 'indra/newview/llpanelemojicomplete.h')
-rw-r--r--indra/newview/llpanelemojicomplete.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelemojicomplete.h b/indra/newview/llpanelemojicomplete.h
index 361a2dc9b7..138cc465ba 100644
--- a/indra/newview/llpanelemojicomplete.h
+++ b/indra/newview/llpanelemojicomplete.h
@@ -59,7 +59,8 @@ public:
void reshape(S32 width, S32 height, BOOL called_from_parent) override;
public:
- void setEmojiHint(const std::string& hint);
+ size_t getEmojiCount() const { return mEmojis.size(); }
+ void setEmojiHint(const std::string& hint);
protected:
size_t posToIndex(S32 x, S32 y) const;
void select(size_t emoji_idx);