rustbasic
d9c5fb04ae
Fix dragging of custom_window_frame example on Windows ( #4656 )
...
* Related #4592
* Closes #4647
Fix dragging of custom_window_frame on Windows (re-edited)
2024-06-19 16:19:41 +02:00
rustbasic
d3ea90f5ef
Fix dragging of custom_window_frame on Windows ( #4592 )
...
Fix: example `custom_window_frame`
Sending `ViewportCommand::StartDrag` when the secondary button is
clicked in Windows will disable drag, and drag will not be possible with
the primary button afterwards.
So in the example `custom_window_frame`, modified to use
`dragged_by(PointerButton::Primary)` instead of
`is_pointer_button_down_on()`.
2024-05-31 15:22:46 +02:00
rustbasic
3b3ce22adc
Make sure plot size is positive ( #4429 )
...
* Closes #4425
Fix: in Plot, Minimum values for screen protection.
2024-05-11 16:49:27 +02:00
rustbasic
66d2b3ffe4
Treat Event::PointerGone as PointerEvent::Released ( #4419 )
...
* Closes #4406
* Closes #4418
If `Event::PointerGone` occurs, it is treated as
`PointerEvent::Released`.
2024-05-11 13:17:58 +02:00
rustbasic and Emil Ernerfeldt
27a22f991d
Fix : In Windows, the 'egui_demo_app' screen does not appear. ( #4410 )
...
* Related #4337
* Closes #4409
Fix : In Windows, the 'egui_demo_app' screen does not appear After the
#4337 update.
---------
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com >
2024-05-11 00:41:02 +02:00
rustbasic
a9efbcff36
IME for chinese ( #4436 )
...
* Completed.
* Closes #4430
IME for chinese
2024-05-11 00:09:14 +02:00
rustbasic and Emil Ernerfeldt
436c671331
Improve IME support with new Event::Ime ( #4358 )
...
* Closes #4354
Fix: can't repeat input chinese words
AND
For Windows :
ImeEnable
ImeDisable
---------
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com >
2024-04-22 12:43:07 +02:00
rustbasic
d2c4269240
Fix : take rounding into account when using Slider::trailing_fill ( #4308 )
...
Handles `rounding` when doing trailing_fill on the rail of `Slider`.
We can see this by setting the rounding to around 8.0
```
ui.visuals_mut().widgets.inactive.rounding = Rounding::same(8.0);
```
Before : There is a little bit of blue painted on the left end.

After : Fix

2024-04-21 11:49:14 +02:00
rustbasic
21835c3176
Fix ViewportCommand::InnerSize not resizing viewport on Wayland ( #4211 )
2024-03-30 20:09:28 +01:00
rustbasic and Emil Ernerfeldt
d410bc5b9a
Fix example/test_viewports title change ( #4221 )
...
fix : `example/test_viewports` title Change accurately
---------
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com >
2024-03-25 12:40:49 +01:00
rustbasic
21d045e8ef
Fix: IME bug when typing Chinese characters ( #4210 )
...
* Closes #4209
Fix: IME bug when typing Chinese characters
2024-03-22 12:27:08 +01:00
rustbasic and Emil Ernerfeldt
769199648d
Prevent egui::Window from becoming larger than Viewport ( #4199 )
...
* Closes #3987
* Closes #3988
There is a need to prevent egui::Window from becoming larger than the
Viewport.
---------
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com >
2024-03-21 13:47:25 +01:00
rustbasic
7d3d7ce0ca
typos : intersects_ray() ( #4201 )
...
typos : intersects_ray()
2024-03-21 12:10:02 +01:00
rustbasic and Emil Ernerfeldt
861a1b6225
Adjustable Slider rail height ( #4092 )
...
Adjustable Slider rail height

---------
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com >
2024-03-21 10:48:40 +01:00
rustbasic
1b34289608
Fix bug in Context::parent_viewport_id ( #4190 )
...
* Closes #4084
Fix : Display parent viewport id Issues
2024-03-20 12:55:44 +01:00
rustbasic
f019032033
TextEdit: fix crash when hitting SHIFT + TAB around non-ASCII text ( #3984 )
...
* Closes #3846
* Closes #3878
Dear emilk.
Leaving aside other function,
I think this is all you need to fix to patch the panic that occurs when
Shift + TAB.
Thank you, emilk.
2024-03-12 11:21:33 +01:00
rustbasic
385daeb354
Fix IME bug where currently typed characters got copied
...
* Closes #3730
Fix IME: Currently typed characters get copied when switching TextEdit
fields
2024-03-08 10:00:28 +01:00
rustbasic
68eb3db648
Fix high CPU usage on Windows when app is minimized ( #3985 )
...
patch #3982
2024-02-06 13:24:49 +01:00
rustbasic
e3cfcf7d2e
eframe: don't call App::update on minimized windows ( #3877 )
...
* Closes #3321
2024-01-25 10:15:38 +01:00
rustbasic and Emil Ernerfeldt
7733d1d87c
Bug Fix : Response::is_pointer_button_down_on is now false the frame the button is released ( #3833 )
...
* Closes #3809
* Closes #3669
* Closes #3791
---------
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com >
2024-01-17 16:33:11 +01:00
rustbasic
7bde0252c1
Keep ViewportInfo::maximized and minimized up-to-date on Windows ( #3831 )
...
This works fine on Windows.
2024-01-17 13:01:33 +01:00