Skip to content

Conversation

@ishanhemnani
Copy link

I have added the scroll functionality to the font size, now you can hover and swipe with 2 fingers to change the font size.

I am new to xcode or swift development so pardon me if the development team line wasn't to be changed as it was the only way to run freewrite locally.

Copy link

@chtnnh chtnnh left a comment

Choose a reason for hiding this comment

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

have tested the functionality, works great!

minor comments, when you resolve these, this pr is good to merge

NSHapticFeedbackManager.defaultPerformer.perform(.generic, performanceTime: .now)
let direction = -scrollBuffer > 0 ? 2 : -2
let newSize = fontSize + CGFloat(direction)
fontSize = min(max(newSize, 12), 32) // Limit font size between 12 and 32
Copy link

Choose a reason for hiding this comment

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

limit the font size between 16 and 26 (that's the limit in the original app)

CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"freewrite/Preview Content\"";
DEVELOPMENT_TEAM = 2UDAY4J48G;
DEVELOPMENT_TEAM = 4YS2543B33;
Copy link

Choose a reason for hiding this comment

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

don't commit this, this will affect development for all contributors

Copy link

Choose a reason for hiding this comment

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

@farzaa check this out!

@ishanhemnani
Copy link
Author

changed to the development team to as it was and changer the limit (16 - 26)

Copy link

@chtnnh chtnnh left a comment

Choose a reason for hiding this comment

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

lgtm

cc: @farzaa

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.

2 participants