Skip to content

Commit

Permalink
fix: [FE] console제거 및 zoom out 커서 싱크 안맞는 버그 해결
Browse files Browse the repository at this point in the history
console제거 및 zoom out 커서 싱크 안맞는 버그 해결
  • Loading branch information
Songwonseok committed Dec 20, 2020
2 parents e8efc6a + 202bff6 commit 111a772
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 15 deletions.
6 changes: 0 additions & 6 deletions frontend/src/common/command/concrete/ModifyEffectCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,12 @@ class ModifyEffectCommand extends Command {
}
return effect;
})
console.log('this.effect', this.effect);

console.log('newEffectList', newEffectList);

trackSection.effectList = [...newEffectList];
focus.trackSection = trackSection;
}
})
});
})
console.log('newTrackList', newTrackList);

this.publishChannel(newTrackList);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ import { Controller } from "@controllers";

inputFadeInLengthListener = (e) => {
const { target } = e;
console.log(target.value);

if (!this.fadeInLengthValueElement) return;
this.fadeInLengthValueElement.innerText = `${target.value}`;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ import './AudioTrackMenu.scss';
try {
const currentZoomRate = ZoomController.getCurrentRate();
if (currentZoomRate < 3.5) {
Controller.changeCurrentScrollAmount(0);
ZoomController.setZoomRate(currentZoomRate + 0.25);
}
} catch (e) {
Expand All @@ -157,6 +158,7 @@ import './AudioTrackMenu.scss';
try {
const currentZoomRate = ZoomController.getCurrentRate();
if (currentZoomRate > 1) {
Controller.changeCurrentScrollAmount(0);
Controller.changeMaxTrackWidth(0);
ZoomController.setZoomRate(currentZoomRate - 0.25);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ import { storeChannel } from '@store';
if (focusList.length !== 1) {
return ``;
}

const trackSection = focusList[0].trackSection;
console.log(trackSection);

return focusList[0].trackSection.effectList.reduce(
(acc, effect) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,9 @@ import './SectionEffectSetting.scss';
if (!fadeInLengthElement) return;

const fadeInLength = Number(fadeInLengthElement.innerText);

const effectProperties = new FadeInProperties({ fadeInLength: fadeInLength });
console.log(effectProperties, '이상한가봐');

const newEffect = new Effect({ name: this.effectType, properties: effectProperties });

console.log(newEffect);

this.updateEffectList(newEffect);
}

Expand Down

0 comments on commit 111a772

Please sign in to comment.