mirror of
https://github.com/cursorless-dev/cursorless.git
synced 2024-10-05 13:27:10 +03:00
Fixes
This commit is contained in:
parent
313c1de6e5
commit
80a9ca1d43
@ -66,8 +66,10 @@ export default class CommandRunner {
|
||||
action.getTargetPreferences(...extraArgs)
|
||||
);
|
||||
|
||||
this.graph.debug.log("Full targets:");
|
||||
this.graph.debug.log(JSON.stringify(targets, null, 3));
|
||||
if (this.graph.debug.active) {
|
||||
this.graph.debug.log("Full targets:");
|
||||
this.graph.debug.log(JSON.stringify(targets, null, 3));
|
||||
}
|
||||
|
||||
const processedTargetsContext: ProcessedTargetsContext = {
|
||||
currentSelections:
|
||||
|
@ -125,8 +125,7 @@ function inferPrimitiveTarget(
|
||||
const insideOutsideType =
|
||||
target.insideOutsideType ??
|
||||
getPreviousAttribute(previousTargetsForAttributes, "insideOutsideType") ??
|
||||
(doAttributeInference ? actionPreferences.insideOutsideType : null) ??
|
||||
"inside";
|
||||
actionPreferences.insideOutsideType;
|
||||
|
||||
const modifier = target.modifier ??
|
||||
getPreviousAttribute(previousTargetsForAttributes, "modifier") ??
|
||||
|
Loading…
Reference in New Issue
Block a user