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

[CLOSED] Fix fontSizeChange event for Restore Font Size command #6707

Open
core-ai-bot opened this issue Aug 30, 2021 · 8 comments
Open

[CLOSED] Fix fontSizeChange event for Restore Font Size command #6707

core-ai-bot opened this issue Aug 30, 2021 · 8 comments

Comments

@core-ai-bot
Copy link
Member

Issue by lkcampbell
Tuesday Apr 08, 2014 at 01:37 GMT
Originally opened as adobe/brackets#7443


Some of the recent changes to font size adjustment broke the fontSizeChange event when the Restore Font Size command is used. This fix makes the event fire correctly again.


lkcampbell included the following code: https://github.com/adobe/brackets/pull/7443/commits

@core-ai-bot
Copy link
Member Author

Comment by TomMalbran
Tuesday Apr 08, 2014 at 02:17 GMT


@lkcampbell Thanks for fixing this. I am a bit busy these days.

@core-ai-bot
Copy link
Member Author

Comment by lkcampbell
Tuesday Apr 08, 2014 at 02:29 GMT


Sorry guys, let me fix it. I was wondering why it seemed to be firing off twice. @RaymondLim's way looks much better than mine.

@core-ai-bot
Copy link
Member Author

Comment by lkcampbell
Tuesday Apr 08, 2014 at 04:15 GMT


@RaymondLim and@TomMalbran, code review changes committed.

@core-ai-bot
Copy link
Member Author

Comment by lkcampbell
Tuesday Apr 08, 2014 at 15:26 GMT


@RaymondLim and@TomMalbran, Code Review notes reviewed. Nothing to change in the code as far as I can tell.

@core-ai-bot
Copy link
Member Author

Comment by lkcampbell
Tuesday Apr 08, 2014 at 15:39 GMT


@RaymondLim and@TomMalbran, hold off for a bit. I have one more thing I want to test. I will let you know when I am done.

@core-ai-bot
Copy link
Member Author

Comment by lkcampbell
Tuesday Apr 08, 2014 at 15:52 GMT


@RaymondLim and@TomMalbran, almost missed a critical little detail :). Code ready for next code review.

@core-ai-bot
Copy link
Member Author

Comment by lkcampbell
Tuesday Apr 08, 2014 at 16:22 GMT


Making a note here to remind myself. I need to put in some Unit Tests for this event in the near future so we don't have any future regressions.

@core-ai-bot
Copy link
Member Author

Comment by RaymondLim
Tuesday Apr 08, 2014 at 23:08 GMT


Looks good. Merging.

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

No branches or pull requests

1 participant