Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@frewsxcv
Copy link
Owner

@frewsxcv frewsxcv commented Aug 8, 2025

This commit introduces a new feature that allows you to adjust the size of point sprites for point layers.

Key changes:

  • Added a point_size field to the Layer struct.
  • Introduced a slider widget in the "Manage Layer" window for point layers.
  • Implemented an event-based system to update the point size in the renderer when the slider is changed.
  • The renderer now uses the point_size from the layer and the camera scale to determine the final size of the sprite.
  • Added LayerId to sprite entities for easier lookup.
  • Added a PointSprite component to handle relative scaling of stroke and fill.

google-labs-jules bot and others added 2 commits August 8, 2025 14:21
This commit introduces a new feature that allows you to adjust the size of point sprites for point layers.

Key changes:
- Added a `point_size` field to the `Layer` struct.
- Introduced a slider widget in the "Manage Layer" window for point layers.
- Implemented an event-based system to update the point size in the renderer when the slider is changed.
- The renderer now uses the `point_size` from the layer and the camera scale to determine the final size of the sprite.
- Added `LayerId` to sprite entities for easier lookup.
- Added a `PointSprite` component to handle relative scaling of stroke and fill.
@frewsxcv frewsxcv merged commit 0ba1209 into main Aug 8, 2025
2 checks passed
@frewsxcv frewsxcv deleted the feature/point-size-slider branch August 8, 2025 15:02
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