Commit 280ad30
Feature/2026 04 11 (#2)
* feat: add font sources and update CSP for improved styling and security
* feat: implement map resizing functionality in MapCanvas and update MapPanel to handle map options
* refactor: improve readability of map resizing calculations in MapCanvas
* feat: enhance map resizing interaction with hover effects and improved delta calculation
* refactor: simplify background property formatting for resize grips in MapCanvas
* refactor: enhance pixel manipulation functions for better blending and clearing in image editor
* feat: enhance object properties handling and improve pencil tool functionality in image editor
* refactor: streamline import statements and improve formatting in ObjectPropertiesDialog
* feat: implement delete functionality for selected tiles, objects, and layers in MapPanel
* refactor: improve code readability by formatting conditional statements and expressions in MapPanel
* feat: add brush and blur size options to ToolSidebar and EditorToolbar
Co-authored-by: Copilot <copilot@github.com>
* feat: implement canvas resizing functionality and enhance image editor history management
* feat: Implement text object functionality and editor
- Refactored ObjectsPanel to use ObjectPropertiesDialogManager for managing object properties.
- Added support for text objects in the project, including rendering, editing, and properties management.
- Introduced TextObjectEditorOverlay for editing text objects directly on the canvas.
- Created utility functions for handling text object properties and rendering.
- Enhanced drawMapObjects to include text object rendering.
- Added local font loading capabilities and presets for text objects.
- Updated project normalization to include text object properties.
- Introduced hooks for managing text object editing state.
- Expanded type definitions to accommodate new text object features.
Co-authored-by: Copilot <copilot@github.com>
* refactor: improve code formatting and readability across multiple files
* feat: add context menu functionality for map canvas with object editing options
Co-authored-by: Copilot <copilot@github.com>
* feat: enhance project import/export functionality with support for image layers and layer groups
* refactor: improve code formatting for better readability in remapping functions
* feat: Refactor map geometry handling and improve scene interaction
- Introduced new map geometry utilities in `map-geometry.ts` for handling different map types (orthogonal, hexagonal).
- Updated `use-scene-interaction.ts` to utilize new geometry functions for cell interactions and drawing previews.
- Enhanced `MapPanel` to support new map types and geometry settings during map creation.
- Modified fill region logic in `terrain.ts` to leverage new map geometry functions for adjacent cell calculations.
- Updated project normalization to include new map geometry properties.
- Added types for new map geometry in `map-geometry.ts` and updated related interfaces across the codebase.
- Improved context menu interactions in `use-map-canvas-context-menu.ts` to use new cell retrieval methods.
Co-authored-by: Copilot <copilot@github.com>
* refactor: improve code formatting and readability across multiple components
---------
Co-authored-by: Copilot <copilot@github.com>1 parent 7a6c95e commit 280ad30
52 files changed
Lines changed: 4414 additions & 1112 deletions
File tree
- public
- src
- components
- dialogs
- editor
- MapCanvas
- MapPanel
- tools/ImageEditor
- ui
- hooks
- lib
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 3 | + | |
13 | 4 | | |
14 | 5 | | |
15 | | - | |
16 | 6 | | |
17 | 7 | | |
18 | 8 | | |
| |||
28 | 18 | | |
29 | 19 | | |
30 | 20 | | |
| 21 | + | |
31 | 22 | | |
32 | 23 | | |
33 | 24 | | |
| |||
37 | 28 | | |
38 | 29 | | |
39 | 30 | | |
40 | | - | |
41 | 31 | | |
42 | 32 | | |
43 | 33 | | |
| |||
47 | 37 | | |
48 | 38 | | |
49 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
50 | 45 | | |
51 | 46 | | |
52 | 47 | | |
53 | 48 | | |
54 | | - | |
55 | | - | |
56 | 49 | | |
57 | 50 | | |
58 | 51 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 10 | | |
16 | 11 | | |
17 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
0 commit comments