mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-20 02:50:17 +02:00
eeshow/gui/sheet.c (sheet_drag_end): re-hover glabels after dragging
This commit is contained in:
parent
b4384a72f4
commit
25f3d3c509
@ -368,6 +368,12 @@ static void sheet_drag_move(void *user, int dx, int dy)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static void sheet_drag_end(void *user)
|
||||||
|
{
|
||||||
|
input_update();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static void sheet_scroll(void *user, int x, int y, int dy)
|
static void sheet_scroll(void *user, int x, int y, int dy)
|
||||||
{
|
{
|
||||||
struct gui_ctx *ctx = user;
|
struct gui_ctx *ctx = user;
|
||||||
@ -444,6 +450,7 @@ static const struct input_ops sheet_input_ops = {
|
|||||||
.scroll = sheet_scroll,
|
.scroll = sheet_scroll,
|
||||||
.drag_begin = sheet_drag_begin,
|
.drag_begin = sheet_drag_begin,
|
||||||
.drag_move = sheet_drag_move,
|
.drag_move = sheet_drag_move,
|
||||||
|
.drag_end = sheet_drag_end,
|
||||||
.key = sheet_key,
|
.key = sheet_key,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user