KinsonDigital / Velaptor

2D game development framework
https://docs.velaptor.io
MIT License
70 stars 16 forks source link

🚧Relative content paths not working #986

Closed CalvinWilkinson closed 1 month ago

CalvinWilkinson commented 1 month ago

Description:

To allow this pull request to be merged, please make sure that the following items of this pull request are complete.

This pull request closes #985

✅The pull request head branch must be a feature branch with the syntax 'feature/-sync-testing'.
✅The pull request base branch must be a 'main' or 'preview' branch..
✅The pull request head branch contains a valid issue number.
✅The pull request title matches the linked issue title exactly.
✅The pull request assignees match the assignees of the issue.
✅The pull request labels match the labels of the issue.
✅The pull request organizational projects match the organizational projects of the issue.
✅The pull requests milestone matches the milestone of the issue.


Additional Info:

  1. Pull requests are automatically synced with the associated issue upon creation by one of the KinsonDigital workflow bots.
  2. The associated issue is the issue number that is embedded in the pull request head branch.
  3. The list above will be automatically updated as the pull request's various settings match or do not match the associated issue.
  4. To manually sync the pull request to the issue, create a comment with the [run-sync] command.

    Note You must be an admin member of the organization to use this command.


CalvinWilkinson commented 1 month ago

[!Warning] Introduced the following https://github.com/KinsonDigital/Velaptor/labels/%F0%9F%A7%A8breaking-changes

  1. Changed the name of the IContentPathResolver.ResolveFilePath() method parameter named contentName to contentPathOrName.
CalvinWilkinson commented 1 month ago

[!Note] Fixed the following https://github.com/KinsonDigital/Velaptor/labels/%F0%9F%90%9Bbug 's

  1. Fixed an issue where caching was not working properly when measuring multiline text with Font.Measure().
  2. Fixed an issue when resolving content paths when using relative file paths that contained any number of directories in the path.