mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-11 10:18:07 +09:00
fix
This commit is contained in:
parent
5353158923
commit
a28aee7df3
2 changed files with 2 additions and 1 deletions
BIN
dist/img/emoji/2640-fe0f.png
vendored
Normal file
BIN
dist/img/emoji/2640-fe0f.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
|
@ -663,7 +663,7 @@ class MenuSmile extends React.Component<I.Menu, State> {
|
|||
};
|
||||
|
||||
onSkin (e: any, n: string, id: string) {
|
||||
const { getId, close } = this.props;
|
||||
const { getId, close, param } = this.props;
|
||||
const item = UtilSmile.data.emojis[id];
|
||||
|
||||
if (item.skins.length <= 1) {
|
||||
|
@ -671,6 +671,7 @@ class MenuSmile extends React.Component<I.Menu, State> {
|
|||
};
|
||||
|
||||
menuStore.open('smileSkin', {
|
||||
...param,
|
||||
type: I.MenuType.Horizontal,
|
||||
element: `#${getId()} #item-${$.escapeSelector(n)}`,
|
||||
vertical: I.MenuDirection.Top,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue