mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-05 15:07:14 +00:00
sim: BL0942 object with controller (sends BL0942 packets); not finished yet; also fix Text edit cursor
This commit is contained in:
@ -30,7 +30,7 @@ void Tool_Text::onMouseDown(const Coord &pos, int button) {
|
||||
currentTarget = 0;
|
||||
return;
|
||||
}
|
||||
CShape *candid = sim->getShapeUnderCursor();
|
||||
CShape *candid = sim->getShapeUnderCursor(true);
|
||||
if (candid != 0) {
|
||||
CText *txt = dynamic_cast<CText*>(candid);
|
||||
if (txt != 0) {
|
||||
@ -44,6 +44,7 @@ void Tool_Text::onMouseDown(const Coord &pos, int button) {
|
||||
}
|
||||
}
|
||||
void Tool_Text::drawTool() {
|
||||
sim->getCursorMgr()->setCursor(SDL_SYSTEM_CURSOR_ARROW);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user