Commit 41d9132
committed
Fix indentation in right-click menu handler
Corrected indentation for the MouseRightClick event handler in IconPickerWidget.cs to improve code readability and maintain consistency.
GameObject icon handling to use tags only , hidden tags
Removed session-only custom icon storage and now rely solely on tags for persisting GameObject icons. Simplified icon retrieval and assignment logic to improve consistency and persistence across sessions.
Remove CustomIconStorage class
Deleted the CustomIconStorage static class, which provided session-only storage for custom icons keyed by GameObject reference. This may be part of a refactor or cleanup of unused code.
Improve emoji search in IconPickerWidget
Enhanced the emoji search functionality to allow searching by emoji names, not just the emoji character. This is achieved by building a reverse mapping from emoji characters to their searchable names using reflection, improving usability when searching for emojis by descriptive terms.
Add Favorites category to IconPickerWidget
Introduces a 'Favorites' category for both Material Icons and Emojis, updates category sidebar and icon mapping, and improves UI with a background for the content area. Also refines the Main icons list and adjusts search box placeholder text based on mode.
Add reset icon functionality to GameObject header
Implemented right-click context menu on the GameObject icon button with options to change the icon or reset it to default. Added logic to remove custom icons and related tags, update the UI, and provide a reset button in the icon color picker popup.
Revamp icon picker UI and add color selection
Refactored IconPickerWidget to improve layout, add a search box, and move mode buttons to a right sidebar. Introduced a color picker button for material icons, allowing users to select icon colors. Updated GameObjectHeader to handle live color updates from the icon picker and streamlined event handling for icon and color changes.
back to normal icon when creating gameobject
Replaced dynamic icon selection with static icons for game objects in both GameObjectHeader and GameObjectNode. This simplifies the UI by using a consistent icon representation regardless of children or components.
Replace emoji-sequences.txt with emojis.json
Removed the emoji-sequences.txt file and added emojis.json to update the emoji data source. This change likely transitions from a text-based Unicode emoji sequence format to a JSON format for improved parsing and integration.1 parent 4949615 commit 41d9132
7 files changed
Lines changed: 424 additions & 1176 deletions
File tree
- game/addons/tools
- Code
- Scene
- GameObjectInspector
- GameObjectHeader
- SceneTree
- Widgets/IconPicker
- Data/emojis
Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 82 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 114 | + | |
| 115 | + | |
122 | 116 | | |
123 | 117 | | |
124 | 118 | | |
| |||
150 | 144 | | |
151 | 145 | | |
152 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
153 | 160 | | |
154 | 161 | | |
155 | 162 | | |
| |||
162 | 169 | | |
163 | 170 | | |
164 | 171 | | |
165 | | - | |
| 172 | + | |
166 | 173 | | |
167 | 174 | | |
168 | 175 | | |
| |||
174 | 181 | | |
175 | 182 | | |
176 | 183 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
| 184 | + | |
188 | 185 | | |
189 | 186 | | |
190 | 187 | | |
| |||
196 | 193 | | |
197 | 194 | | |
198 | 195 | | |
199 | | - | |
200 | | - | |
| 196 | + | |
| 197 | + | |
201 | 198 | | |
202 | 199 | | |
203 | 200 | | |
| |||
229 | 226 | | |
230 | 227 | | |
231 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
232 | 261 | | |
233 | 262 | | |
234 | 263 | | |
| |||
296 | 325 | | |
297 | 326 | | |
298 | 327 | | |
299 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
300 | 332 | | |
301 | 333 | | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
309 | 337 | | |
310 | | - | |
| 338 | + | |
| 339 | + | |
311 | 340 | | |
312 | 341 | | |
313 | | - | |
| 342 | + | |
| 343 | + | |
314 | 344 | | |
315 | | - | |
| 345 | + | |
316 | 346 | | |
317 | 347 | | |
318 | 348 | | |
319 | 349 | | |
320 | 350 | | |
321 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
322 | 363 | | |
323 | 364 | | |
324 | 365 | | |
325 | 366 | | |
326 | 367 | | |
327 | 368 | | |
328 | | - | |
| 369 | + | |
329 | 370 | | |
330 | 371 | | |
331 | 372 | | |
332 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
333 | 377 | | |
334 | 378 | | |
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
81 | 89 | | |
82 | 90 | | |
83 | 91 | | |
| |||
93 | 101 | | |
94 | 102 | | |
95 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
96 | 108 | | |
97 | 109 | | |
98 | 110 | | |
99 | 111 | | |
100 | 112 | | |
101 | 113 | | |
102 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
103 | 119 | | |
104 | 120 | | |
105 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 44 | | |
50 | 45 | | |
51 | 46 | | |
| |||
92 | 87 | | |
93 | 88 | | |
94 | 89 | | |
95 | | - | |
| 90 | + | |
96 | 91 | | |
97 | 92 | | |
98 | 93 | | |
| |||
249 | 244 | | |
250 | 245 | | |
251 | 246 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
| 247 | + | |
256 | 248 | | |
257 | 249 | | |
258 | 250 | | |
259 | 251 | | |
260 | 252 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | 253 | | |
266 | 254 | | |
267 | 255 | | |
| |||
329 | 317 | | |
330 | 318 | | |
331 | 319 | | |
332 | | - | |
333 | | - | |
334 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
335 | 323 | | |
336 | 324 | | |
337 | 325 | | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | 326 | | |
344 | 327 | | |
345 | 328 | | |
| |||
0 commit comments