1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-01 13:20:50 +01:00
Commit graph

1545 commits

Author SHA1 Message Date
Ell
c46b11f4fc fixed a regression where panels sometimes revert back to old, larger sizes after children change size 2024-10-30 19:34:51 +01:00
Ell
dbd52d5b9d
Fixed newly introduced issues since #28 (#30)
* fixed newly introduced stack overflow when adding/removing from scrolling panel

* added second part of issue as test

* fixed TestIssue29Inconsistencies
2024-10-29 23:31:49 +01:00
Ell
b59fe6b817 bump version (we've been adding features!) 2024-10-29 23:13:41 +01:00
Ell
41fb515f80 Fixed AddedToUi and RemovedFromUi being called for freshly added or removed children whose parents are not in a ui system 2024-10-29 20:28:44 +01:00
Ell
50e864b94f
Fixed stack overflow related to panel scrolling and scrollbar auto hiding (and improved build scripts) (#28)
* add a test to recreate the issue

* fixed deploy-demo running on pull requests

* restructure cake script to run tests separately

* actually name the test step correctly

* also run the build task separately

* made all tasks explicitly depend on prepare

* install android workload manually, rather than as part of cake

* Revert "install android workload manually, rather than as part of cake"

This reverts commit 101d6d3eac.

* don't clear a panel's scroll bar max history between area updates

* added changelog entry
2024-10-27 00:46:15 +02:00
Ell
78d73c2417 only leave generic font test comparison wiggle room for KNI, and make it 10% 2024-10-26 14:54:43 +02:00
Ell
f5e64eb719 clean up structure of tests that use TestGame 2024-10-26 14:41:36 +02:00
Ell
1cfdedfc80 Made fields and methods in StaticJsonConverter protected to allow extending it 2024-10-20 12:31:31 +02:00
Ell
3bc5c7f18c Fixed tooltips not being bounded correctly for viewports that don't start at the origin 2024-10-08 18:12:22 +02:00
Ell
d2774ad7d2 Added Tooltip.IgnoreViewport and allow overriding the default viewport using Tooltip.Viewport 2024-10-08 18:07:38 +02:00
Ell
db2a3dfe70 use UiMetrics to print ui test info 2024-10-07 21:51:35 +02:00
Ell
2e9e6e8980 improved ui tests and added additional performance tests 2024-10-07 18:32:22 +02:00
Ell
30eb4515bc Improve Element.Transform documentation 2024-10-07 18:03:35 +02:00
Ell
0eeeed1a27 Added TextField.OnEnterPressed event 2024-09-29 22:58:50 +02:00
Ell
4c378f7cd9 Fixed formatting codes at the start of strings not being added to the AllCodes collection
Closes #26
2024-09-29 12:17:47 +02:00
Ell
f35730ee7c moved change to the correct changelog category 2024-09-19 20:22:04 +02:00
Ell
84bf3fa0a3 Added Panel.IsVisible method to check if a child element is visible 2024-09-19 20:21:06 +02:00
Ell
3340a5024b fixed docs not being built with .net 8 2024-09-15 23:49:46 +02:00
Ell
f22dfa0ec4 always deploy the demo on push 2024-09-15 23:18:17 +02:00
Ell
c9d7fd29df added wip disclaimer to the web demo 2024-09-15 23:01:37 +02:00
Ell
88136ab9c5 Revert "always deploy the site on push, but only build api docs on release"
This reverts commit 82dd677987.
2024-09-15 22:58:02 +02:00
Ell
82dd677987 always deploy the site on push, but only build api docs on release 2024-09-15 22:45:17 +02:00
Ell
c5f4fd27bd bump upcoming version 2024-09-14 11:48:18 +02:00
Ell
44388c0ebd Merge remote-tracking branch 'origin/main' 2024-09-14 11:39:30 +02:00
Ell
cdc4756a6a 7.1.1 2024-09-14 11:39:05 +02:00
Ell
3fc42143d5
Added web demo to the website (#24)
* work on publishing the web demo

* some fixes

* link to web demo
2024-09-14 11:37:06 +02:00
Ell
c4bd03ff04 Image loading improvements:
- Added TextureExtensions.PremultipliedCopy for textures
- Create a premultiplied copy of UiParser images to support usage with KNI
2024-09-14 10:48:04 +02:00
Ell
a6a34c3937 Construct images in UiParser.ParseImage on the main thread to support usage with KNI 2024-09-14 10:40:11 +02:00
Ell
73a02dfe19 bump upcoming version 2024-09-02 21:00:40 +02:00
Ell
17cb112360 7.1.0 2024-09-02 20:51:23 +02:00
Ell
70cf0e8ef7 only invoke the kni content builder on windows 2024-09-02 20:41:33 +02:00
Ell
db144f7880 added an experimental kni web demo 2024-09-02 20:33:04 +02:00
Ell
ea8ec69dd6 Added MLEM.KNI and friends, which are fully compatible with KNI 2024-09-02 19:55:28 +02:00
Ell
494a7ebdfe improve documentation links for MlemPlatform 2024-08-28 13:40:31 +02:00
Ell
78c4a74f4b fixed outdated version information in the readme 2024-08-18 17:56:58 +02:00
Ell
74254e6cdb Added ColorExtensions.ToHsv and ColorHelper.FromHsv 2024-07-29 20:46:40 +02:00
Ell
9c4a66ef6d bump minor version 2024-07-29 20:16:14 +02:00
Ell
943a9cbd77 Added ColorExtensions.ToHsl and ColorHelper.FromHsl 2024-07-29 19:57:33 +02:00
Ell
dd3fc6b85d bump upcoming version 2024-07-20 12:04:48 +02:00
Ell
7c3cffd2cd 7.0.0 2024-07-20 11:57:36 +02:00
Ell
ecc0c3b963 Allow static json converters to write null values 2024-07-19 21:35:47 +02:00
Ell
498e1d8fe6 Allow static json converters to throw an exception if a key does not exist 2024-07-19 21:10:30 +02:00
Ell
677230ce28 Moved extension methods into matching namespaces to avoid unexpected suggestions 2024-07-19 20:02:28 +02:00
Ell
13436a31ea removed DynamicEnums from the friends list (it doesn't really fit sorry) 2024-07-19 10:44:02 +02:00
Ell
8fd69566f1 remove lidgren references from mlem.data 2024-07-18 18:27:05 +02:00
Ell
b0c6067555 removed all non-recent obsolete methods, properties and types 2024-07-17 18:21:13 +02:00
Ell
b4f45ba6b5 small keybind improvements
- Added a constructor that accepts a set of combinations
- Made the Combinations collection a public property
2024-07-16 12:10:41 +02:00
Ell
6f51b3542b Revert "Added a public Combinations collection and associated constructor to Keybind"
This reverts commit b2dd81e95b.
2024-07-16 12:06:47 +02:00
Ell
b2dd81e95b Added a public Combinations collection and associated constructor to Keybind 2024-07-16 11:18:56 +02:00
Ell
fa60b5e8b1 fixed error in 2df216c 2024-07-14 20:04:18 +02:00