mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
add 200ms delay before starting drag'n'drop
This commit is contained in:
@@ -70,8 +70,9 @@ public:
|
||||
inline void setCard(const CardP& card, bool event = false) { selectItem(card, true, event); }
|
||||
|
||||
// --------------------------------------------------- : Clipboard and Drag'n'Drop
|
||||
|
||||
|
||||
CardListDropTarget* drop_target;
|
||||
wxTimer drop_timer;
|
||||
|
||||
bool canCut() const override;
|
||||
bool canCopy() const override;
|
||||
@@ -167,7 +168,8 @@ private:
|
||||
void onItemActivate (wxListEvent&);
|
||||
void onSelectColumns (wxCommandEvent&);
|
||||
void onChar (wxKeyEvent&);
|
||||
void onBeginDrag (wxListEvent&);
|
||||
void onBeginDrag (wxListEvent&);
|
||||
void OnDragTimer (wxTimerEvent&);
|
||||
void onDrag (wxMouseEvent&);
|
||||
void onContextMenu (wxContextMenuEvent&);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user