mirror of
https://gitee.com/openharmony/applications_launcher
synced 2024-11-23 06:50:02 +00:00
commit
c1eaf4f730
@ -335,10 +335,10 @@ export struct FolderComponent {
|
||||
Log.showInfo(TAG, `onHover isHover:${isHover}`);
|
||||
this.isHover = isHover;
|
||||
})
|
||||
.bindContextMenu(this.MenuBuilder, ResponseType.LongPress)
|
||||
.onDragStart((event: DragEvent) => {
|
||||
return this.dragStart(event);
|
||||
})
|
||||
.bindContextMenu(this.MenuBuilder, ResponseType.LongPress)
|
||||
.onDragEnd((event: DragEvent, extraParams: string) => {
|
||||
Log.showInfo(TAG, `onDragEnd event: [${event.getWindowX()}, ${event.getWindowY()}]` + event.getResult());
|
||||
AppStorage.setOrCreate<LauncherDragItemInfo>('dragItemInfo', new LauncherDragItemInfo());
|
||||
|
@ -103,10 +103,10 @@ export struct FormItemComponent {
|
||||
this.clickForm(event, this.formItem);
|
||||
}
|
||||
})
|
||||
.bindContextMenu(this.MenuBuilder, ResponseType.LongPress)
|
||||
.onDragStart((event: DragEvent, extraParams: string) => {
|
||||
return this.dragStart(event);
|
||||
})
|
||||
.bindContextMenu(this.MenuBuilder, ResponseType.LongPress)
|
||||
.onDragEnd((event: DragEvent, extraParams: string) => {
|
||||
Log.showInfo(TAG, `onDragEnd event: [${event.getWindowX()}, ${event.getWindowY()}]` + event.getResult());
|
||||
AppStorage.setOrCreate<LauncherDragItemInfo>('dragItemInfo', new LauncherDragItemInfo());
|
||||
|
Loading…
Reference in New Issue
Block a user