add selection of text by using shift+mouse click
This commit is contained in:
@@ -111,8 +111,11 @@ namespace drawerbase {
|
||||
|
||||
void drawer::mouse_down(graph_reference, const arg_mouse& arg)
|
||||
{
|
||||
if(editor_->mouse_down(arg.button, arg.pos))
|
||||
if (editor_->mouse_pressed(arg))
|
||||
{
|
||||
editor_->render(true);
|
||||
API::lazy_refresh();
|
||||
}
|
||||
}
|
||||
|
||||
void drawer::mouse_move(graph_reference, const arg_mouse& arg)
|
||||
@@ -123,7 +126,7 @@ namespace drawerbase {
|
||||
|
||||
void drawer::mouse_up(graph_reference graph, const arg_mouse& arg)
|
||||
{
|
||||
if(editor_->mouse_up(arg.button, arg.pos))
|
||||
if(editor_->mouse_pressed(arg))
|
||||
API::lazy_refresh();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user