Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dzx-dzx committed May 14, 2022
1 parent 204ac88 commit 0550ec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugin/nc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ let createLineGenerator = canonicalGeneratorFactory({
viewtype: "edittext",
text: "Vertical gradient:",
key: "gradient",
inputType: "float"
}
])
),
Expand Down Expand Up @@ -320,7 +321,7 @@ let createLineGenerator = canonicalGeneratorFactory({
}
})

createLineGenerator.addPosition = function () {
createLineGenerator.onAddPosition = function (e) {
let { state, position, runtime } = e;
if (state.doAcceptNewPosition) {
let indexOfVacancy = state.positions.indexOf(undefined)
Expand Down

0 comments on commit 0550ec2

Please sign in to comment.