Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
[GLANCE CANDIDATE]
  • Loading branch information
floryst committed Jun 13, 2019
1 parent f7258d3 commit 0541ad1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/components/tools/PaintTool/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export default {
proxyManager: {
onProxyRegistrationChange(info) {
const { proxyGroup, action, proxy, proxyId } = info;

if (proxyGroup === 'Sources') {
if (action === 'unregister') {
if (this.master && proxyId === this.master.getProxyId()) {
Expand All @@ -82,14 +81,6 @@ export default {
// update image selection
this.$forceUpdate();
}

// link interactors
if (proxyGroup === 'Views') {
if (action === 'register' && this.enabled) {
const interactor = proxy.getInteractor();
interactor.requestAnimation(SYNC);
}
}
},
},
mounted() {
Expand Down

0 comments on commit 0541ad1

Please sign in to comment.