1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-11 10:18:07 +09:00

fix: remove log

This commit is contained in:
lavac 2023-12-30 16:15:47 +08:00
parent 29b8a803a4
commit e20f8228dd

View file

@ -514,7 +514,6 @@ class MenuSmile extends React.Component<I.Menu, State> {
onArrowVertical (dir: number) {
const rows = this.getItems();
console.log('dir',dir);
this.row += dir;
@ -537,7 +536,7 @@ class MenuSmile extends React.Component<I.Menu, State> {
const firstBlankIndex = current.children.findIndex((item: any) => item.itemId == ID_BLANK);
if (firstBlankIndex > -1) {
if ((firstBlankIndex > -1) && (firstBlankIndex <= this.coll)) {
this.coll = firstBlankIndex - 1;
}