History

fix keyboard focus

SamGondelman committed 7 years ago

Commit 31cf6231 parent 4b406bf6 files · +59 −74Browse files

Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 6 files). Show all

Unified · Split

libraries/entities/src/EntityScriptingInterface.cpp+0−5
@@ -57,11 +57,6 @@ EntityScriptingInterface::EntityScriptingInterface(bool bidOnSimulationOwnership · 56 unmodified lines
5757 connect(nodeList.data(), &NodeList::canRezTmpCertifiedChanged, this, &EntityScriptingInterface::canRezTmpCertifiedChanged);
5858 connect(nodeList.data(), &NodeList::canWriteAssetsChanged, this, &EntityScriptingInterface::canWriteAssetsChanged);
5959
60− // If the user clicks somewhere where there is no entity at all, we will release focus
61− connect(this, &EntityScriptingInterface::mousePressOffEntity, [this]() {
62− setKeyboardFocusEntity(UNKNOWN_ENTITY_ID);
63− });
64−
6560 auto& packetReceiver = nodeList->getPacketReceiver();
6661 packetReceiver.registerListener(PacketType::EntityScriptCallMethod, this, "handleEntityScriptCallMethodPacket");
6762 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t