Old one-shot picking replaced with new "pick elements until you click
inside the debug window".
Change-Id: I3ef3327f051f61187d83a66072805d0ceb3f3346
elementQueryString = queryFragment + elementQueryString;
}
- if (!path.startsWith("//")) {
+ if (!tmpPath.startsWith("//")) {
elementQueryString = "$" + elementQueryString;
}
SelectorWidget w = new SelectorWidget(p);
content.add(w);
-
- stopFind();
}
private final NativePreviewHandler highlightModeHandler = new NativePreviewHandler() {
.getNativeEvent().getClientX(), event.getNativeEvent()
.getClientY());
if (VDebugWindow.get().getElement().isOrHasChild(eventTarget)) {
+ if (isFindMode() && event.getTypeInt() == Event.ONCLICK) {
+ stopFind();
+ event.cancel();
+ }
return;
}