Big rename part 2: 'config' etc. to 'mapping.
[enjoyable.git] / TargetToggleMouseScope.m
index 499e9c9..0413b73 100644 (file)
@@ -21,7 +21,7 @@
 }
 
 + (Target *)targetDeserialize:(NSDictionary *)serialization
-                  withConfigs:(NSArray *)configs {
+                  withMappings:(NSArray *)mappings {
        TargetToggleMouseScope *target = [[TargetToggleMouseScope alloc] init];
        return target;
 }
@@ -29,7 +29,7 @@
     // FIXME: It's hacky to get at the controller this way, but it's
     // also hacky to pass it. Shouldn't need to do either.
     ApplicationController *ac = NSApplication.sharedApplication.delegate;
-    NJInputController *jc = ac.jsController;
+    NJInputController *jc = ac.inputController;
     jc.frontWindowOnly = !jc.frontWindowOnly;
 }