Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update fabric.js version to v2.7.0 #201

Merged
merged 31 commits into from
May 3, 2019
Merged

Conversation

junghwan-park
Copy link
Member

Please check if the PR fulfills these requirements

  • It's submitted to right branch according to our branching model
  • It's right issue type on title
  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • It does not introduce a breaking change or has description for the breaking change

Description

  • Update fabric.js version to 2.7.0
  • bug fixes

ref: #129


Thank you for your contribution to TOAST UI product. πŸŽ‰ 😘 ✨

const $btnLoadMaskImage = $('#input-mask-image-file');
const $btnApplyMask = $('#btn-apply-mask');
const $btnClose = $('.close');
var $btns = $('.menu-item');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μ „λΆ€ λ‹€ var둜 λ°”κΎΌ νŠΉλ³„ν•œ μ΄μœ κ°€ μžˆλ‚˜μš”, example의 λΈŒλΌμš°μ € 지원을 μœ„ν•œκ±°μ£ ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

λ„€ λ§žμ•„μš”. IE같은 λΈŒλΌμš°μ €μ—μ„œλŠ” λ™μž‘ν•˜μ§€ μ•Šμ„κ±° κ°™μ•„μ„œ μˆ˜μ •ν–ˆμŠ΅λ‹ˆλ‹€.


return rotationComp.setAngle(angle);
if (type === 'setAngle') {
return rotationComp[type](this.undoData.angle);
Copy link
Contributor

@jinwoo-kim-nhn jinwoo-kim-nhn May 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μ•„λž˜μ²˜λŸΌ ν•œμ€„λ‘œ ν‘œν˜„ν•΄λ„ 쒋을것 κ°™κ³ 

rotationComp[(type==='setAngle') ? type : rotate](angle);

undoData.angleκ³Ό args 에 μžˆλŠ” 값이 λ‹€λ₯Έ κ°’μΈκ°€μš”? undoData에 μ—†λŠ” μƒˆλ‘œμš΄ 값이 μ˜€λ‹ˆκΉŒ 쑰금 ν˜Όλž€μŠ€λŸ½λ„€μš”

λ‚˜μ€‘μ—λŠ” setAngleκ³Ό rotate에 μ»€λ§¨λ“œ 자체λ₯Ό λΆ„λ¦¬ν•˜λŠ”κ²ƒλ„ 고렀해봐야 될 것 κ°™μ•„μš”

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μˆ˜κ³ ν•˜μ…¨μŠ΅λ‹ˆλ‹€. 리뷰 μ™„λ£Œν–ˆμŠ΅λ‹ˆλ‹€.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사싀상 this.undoData.angle에 rotateν–ˆλ˜ 각도와 setAngleν–ˆλ˜ 각도가 ν˜Όμž¬λ˜μ–΄μ„œ rotateλŠ” μ‹€ν–‰λœ 각도λ₯Ό κ·ΈλŒ€λ‘œ λ°˜μ „ν•΄μ„œ μ μš©ν•˜λ©΄ 되고, setAngleμ‹œμ—λ§Œ this.undoData.angle이 이전 μƒνƒœ 역할을 ν•˜λ„λ‘ κ°œλ°œν–ˆμŠ΅λ‹ˆλ‹€.
이제 λ³΄λ‹ˆ λ§μ”€ν•˜μ‹  것 처럼 두 μ»€λ§¨λ“œλ₯Ό λΆ„λ¦¬ν•˜λŠ”κ²Œ 쒋을거 κ°™λ‹€κ³  μƒκ°λ˜λ„€μš”. μ£Όμ„μœΌλ‘œ λ‹¬μ•„λ‘κ² μŠ΅λ‹ˆλ‹€. κ°μ‚¬ν•©λ‹ˆλ‹€.

@junghwan-park junghwan-park merged commit df5b1c4 into master May 3, 2019
@junghwan-park junghwan-park deleted the feat/update-fabric branch May 3, 2019 09:18
HerlinMatos pushed a commit to EveryMundo/tui.image-editor that referenced this pull request Jul 2, 2020
)

* interim

* interim

* interim: named import

* fix: Deleting i-text by backspace or delete key pressed when text editing

* fix: Resolve rotation breaking change

* interim: Normalize filters except RemoveWhite, ColorFilter, GradientTransparency

* interim: cropzone

* fix: Set color method of Icon

* fix: Mask filter

* fix: Change group type verification to 'activeSelection'

* fix: Cropzone rendering

* fix: Disable objectCaching

* fix: Resolve rotation range bar malfunction

* fix: Resolve cropzone scaling issue

* fix: Modify getCropzoneRect() cropzone api

* interim: Remaining range bar rotation undo/redo feature

* fix: Resolve T/C Errors

* fix: fabric.js external aid

* feat: Synchronize range bar and value with current image rotation info

* fix: fabric.js external aid

* fix: Return _rotate() promise

* fix: Check text double clicked for edit text

* fix: Resolve Basic example's bugs

* fix: Resolve T/C error

* chore: Modify JSDoc

* fix: Return what it got

* chore: Update JSDoc

* chore: Revert codes

* fix: Remove Gradient Transparency

* chore: Change karma environment

* fix: Rotate button error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants