Commit Graph

432 Commits

Author SHA1 Message Date
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
f1fe83ca81 Add RayCast utility to UI controls
#1952
2024-02-26 16:22:56 +01:00
Wojtek Figat
a061afd840 Cleanup for #1827 2024-02-19 10:54:29 +01:00
Wojtek Figat
71627f1bbd Merge branch 'new-script' of https://github.com/MineBill/FlaxEngine into MineBill-new-script 2024-02-18 20:32:27 +01:00
Wojtek Figat
a2b8312fba Cleanup stuff in #2019 2024-02-18 19:48:43 +01:00
Wojtek Figat
45aa0e1b65 Merge branch 'master' of https://github.com/HydrogenC/FlaxEngine into HydrogenC-master 2024-02-18 16:11:31 +01:00
nothingTVatYT
a9259b20a4 fix off-by-one in collection range check
The check failed randomly after script reloading an dissued the following error:

```
00:19:37.789 ]: [Error] Exception has been thrown during Window.OnDraw.
Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
[ 00:19:37.805 ]: [Warning] Exception has been thrown during Window.OnUpdate. Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
Stack strace:
   at FlaxEditor.GUI.Tabs.Tabs.get_SelectedTab() in /home/me/Flax/FlaxEngine/Source/Editor/GUI/Tabs/Tabs.cs:line 242
```
2024-02-07 02:01:39 +01:00
Wojtek Figat
9da9a122b8 Fix error in Editor 2024-02-06 16:59:17 +01:00
Wojtek Figat
0793ebc132 Improve #2221 to be more dynamic when clicking arrow 2024-02-06 10:58:14 +01:00
Wojtek Figat
cde9fe8f9c Merge branch 'cont-key-tree' of https://github.com/Tryibion/FlaxEngine into Tryibion-cont-key-tree 2024-02-06 10:54:34 +01:00
Chandler Cox
dec9fbd74b Add hold arrow key in tree to continuously scroll actors 2024-02-02 09:18:48 -06:00
Chandler Cox
d5e9ad2147 Adjust combobox window position based on what direction it opens. 2024-01-22 21:01:04 -06:00
Chandler Cox
1e061b77af Add back in checking for textRect x location. 2024-01-08 19:48:12 -06:00
Chandler Cox
afb5edb824 Adjust ContextMenu ShortKeys as needed to accommodate for scrollbar when visible. 2024-01-08 19:45:54 -06:00
MineBill
343d7b4973 Save the dock state of custom editor windows between script reloads. 2023-12-30 18:30:26 +02:00
Wojtek Figat
4d9ef32abc Fix auto-docking windows on open when system DPI scale is not 1 2023-12-27 00:29:30 +01:00
Wojtek Figat
55066cd738 Add red tint highlight for CPU profiler table entries based on event duration 2023-12-26 13:12:51 +01:00
ExMatics HydrogenC
ac090d690e Merge remote-tracking branch 'upstream/master' 2023-12-19 12:33:13 +08:00
Chandler Cox
b85ec46545 Change selected color. 2023-12-16 22:05:04 -06:00
Chandler Cox
272a147c2e Add saved colors to color picker. 2023-12-16 20:36:27 -06:00
ExMatics HydrogenC
23b71e7d3e Make font fallbacking the default option 2023-12-03 15:11:47 +08:00
ExMatics HydrogenC
95f5e31e48 Fix textbox height
Fix build error under non-windows platforms
2023-12-01 19:38:15 +08:00
ExMatics HydrogenC
3d139a241a Fix C# editor 2023-12-01 09:28:29 +08:00
ExMatics HydrogenC
623f478b44 Move fallback rendering to new class 2023-11-30 23:22:11 +08:00
ExMatics HydrogenC
cdbe59a3fb Add fallback settings to CSharp 2023-11-30 23:12:56 +08:00
ExMatics HydrogenC
41bbce56f6 Add multifont rendering to editor 2023-11-30 13:41:45 +08:00
ExMatics HydrogenC
47a25c7828 Add font fallback
Note: All the `First()` in the code are temperary workarounds to make it work and require refractoring
2023-11-28 07:17:46 +08:00
Wojtek Figat
e9a1be481f Add short delay before auto-selecting editor tab on drag over header
#1934
2023-11-20 11:03:49 +01:00
Wojtek Figat
c0f0bd87aa Fix error in Tabs.SelectedTab
#1932
2023-11-14 10:33:40 +01:00
Wojtek Figat
618273977c Minor improvements to code style #1541 2023-11-13 17:17:05 +01:00
Wojtek Figat
13881c7d97 Merge branch 'LightThemeTweaks' of https://github.com/Radiangames/FlaxEngine into Radiangames-LightThemeTweaks 2023-11-13 17:02:12 +01:00
Wojtek Figat
7d70a15034 Fix color editing control to properly handle mouse event
#1782
2023-11-10 10:20:21 +01:00
Wojtek Figat
7d43a0cc8b Fix various cases of closing window tabs when using Dock Windows in Editor
#1750
2023-11-07 16:14:09 +01:00
Wojtek Figat
fd4a5595c0 Merge branch 'editor-list-dragging' of https://github.com/MineBill/FlaxEngine into MineBill-editor-list-dragging 2023-11-07 10:21:57 +01:00
Wojtek Figat
c78ce9697c Fix incorrect tabs selection handling when tab gets removed
#1843
2023-11-06 18:14:16 +01:00
Wojtek Figat
c025b4414c Add support for unlimited window size if MaximumSize is set to Zero
#1824
2023-11-06 14:42:29 +01:00
MineBill
151c6bc6c3 Fix color picker dialog not staying inside the current screen. 2023-11-01 20:07:58 +02:00
MineBill
df5dc0c284 Extract validation/item handling of AssetPicker in a separate class. 2023-10-31 16:32:57 +02:00
MineBill
5afb00e2c6 Allow quick creation of scripts. 2023-10-28 20:21:43 +03:00
Wojtek Figat
9c4382dffb Fix using dock window panels on macOS in Editor 2023-10-23 15:59:09 +02:00
Wojtek Figat
6ff3e0f488 Various improvements to macOS platform 2023-10-22 20:06:54 +02:00
MineBill
c773c3e8fc Collapse/Expand all node in the tree if the user is pressing the Alt key. 2023-10-19 18:55:58 +03:00
nothingTVatYT
48a5fe54e8 keep auto-close for non-Linux platforms 2023-10-16 01:13:06 +02:00
nothingTVatYT
c42a264944 removed a left over debug statement 2023-10-16 01:08:47 +02:00
nothingTVatYT
d1b2b64cd1 fix color picker (signal handler + alpha channel) 2023-10-15 21:43:15 +02:00
Wojtek Figat
d0fbf12b92 Fix editor tabs control size for tab header when scroll bar is visible
#1135
2023-10-13 11:16:34 +02:00
Chandler Cox
f2c9ba5a00 Focus parent on value box slide end. 2023-10-11 15:33:32 -05:00
Wojtek Figat
3ac7c4e0ee Codestyle fix 2023-10-09 23:21:02 +02:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
2cac149741 Code cleanup for #1377 2023-10-06 15:58:23 +02:00