summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This PR fixes a bug with select all (CMD + A on MacOS) when using a text_input.Libravatar Zak2020-11-251-3/+13
| | | | | | Previous behaviour: when selecting all (CMD + A) would delete the current text inside the input and replace the content with just the letter 'a'. Now we check if the logo key (modifier key) has been pressed before checking any other key and save it to the state level. This way we can prevent any text being deleted when using the select all shortcut or text being entered at all when a modifier key is pressed (this behaviour matches other text input behaviour i.e text inputs in the browser etc...).
* Merge pull request #629 from hecrj/wgpu-present-mode-settingLibravatar Héctor Ramón2020-11-242-1/+7
|\ | | | | Add `present_mode` field to `iced_wgpu::Settings`
| * Add `present_mode` field to `iced_wgpu::Settings`Libravatar Héctor Ramón Jiménez2020-11-232-1/+7
| |
* | Merge pull request #627 from hecrj/fix/canvas-rotationLibravatar Héctor Ramón2020-11-241-1/+1
|\ \ | | | | | | Fix backwards `Frame::rotate` in `canvas`
| * | Fix backwards `Frame::rotate` in `canvas`Libravatar Héctor Ramón Jiménez2020-11-221-1/+1
| |/ | | | | | | | | The angle direction has been fixed upstream in `euclid` (see https://github.com/servo/euclid/pull/413).
* | Merge pull request #628 from hecrj/improvement/float-border-radiusLibravatar Héctor Ramón2020-11-2435-134/+144
|\ \ | |/ |/| Use `f32` for `border_width` and `border_radius`
| * Limit border radius to max dimension in `quad` pipelineLibravatar Héctor Ramón Jiménez2020-11-233-0/+10
| |
| * Use `f32` for `border_width` and `border_radius`Libravatar Héctor Ramón Jiménez2020-11-2332-134/+134
|/
* Merge pull request #622 from hecrj/feature/qr_code-widgetLibravatar Héctor Ramón2020-11-2014-2/+466
|\ | | | | `QRCode` widget
| * Implement `qr_code` exampleLibravatar Héctor Ramón Jiménez2020-11-203-0/+108
| |
| * Implement `QRCode` widgetLibravatar Héctor Ramón Jiménez2020-11-2011-2/+358
|/
* Fix deprecation warnings from `image`Libravatar Héctor Ramón Jiménez2020-11-201-2/+2
|
* Merge pull request #620 from hecrj/fix/trackpad-text-input-selectionLibravatar Héctor Ramón2020-11-201-1/+5
|\ | | | | Disable dragging in `TextInput` after double click
| * Disable dragging in `TextInput` after double clickLibravatar Héctor Ramón Jiménez2020-11-191-1/+5
|/ | | | | | | | When using a trackpad, mouse move events may happen between the press/release events. This was incorrectly triggering selection dragging in the `TextInput` widget. Eventually, we should implement proper word-aware selection dragging.
* Remove `Focus` in `pane_grid`Libravatar Héctor Ramón Jiménez2020-11-175-23/+7
| | | | Since #608, the `PaneGrid` widget does not handle pane focus.
* Implement flexible `TextInput::draw` helperLibravatar Héctor Ramón Jiménez2020-11-172-30/+63
|
* Merge pull request #614 from hecrj/feature/event-capturingLibravatar Héctor Ramón2020-11-1433-425/+711
|\ | | | | Event capturing
| * Batch event processing in `UserInterface::update`Libravatar Héctor Ramón Jiménez2020-11-124-88/+96
| |
| * Introduce `event::Status` to `Subscription`Libravatar Héctor Ramón Jiménez2020-11-126-29/+50
| |
| * Return `event::Status` in `UserInterface::update`Libravatar Héctor Ramón Jiménez2020-11-124-92/+107
| |
| * Make `Overlay::on_event` return `event::Status`Libravatar Héctor Ramón Jiménez2020-11-124-10/+17
| |
| * Implement event capturing for `Canvas`Libravatar Héctor Ramón Jiménez2020-11-125-69/+101
| |
| * Implement event capturing for `TextInput`Libravatar Héctor Ramón Jiménez2020-11-121-130/+168
| |
| * Implement event capturing for `Slider`Libravatar Héctor Ramón Jiménez2020-11-121-0/+6
| |
| * Implement event capturing for `Scrollable`Libravatar Héctor Ramón Jiménez2020-11-121-37/+52
| |
| * Implement event capturing for `Row`Libravatar Héctor Ramón Jiménez2020-11-121-8/+8
| |
| * Implement event capturing for `Radio`Libravatar Héctor Ramón Jiménez2020-11-121-0/+2
| |
| * Implement event capturing for `PickList`Libravatar Héctor Ramón Jiménez2020-11-121-5/+13
| |
| * Implement event capturing for `PaneGrid`Libravatar Héctor Ramón Jiménez2020-11-123-28/+47
| |
| * Implement event capturing for `Column`Libravatar Héctor Ramón Jiménez2020-11-122-8/+29
| |
| * Implement event capturing for `Checkbox`Libravatar Héctor Ramón Jiménez2020-11-121-0/+2
| |
| * Implement event capturing for `Button`Libravatar Héctor Ramón Jiménez2020-11-122-7/+12
| |
| * Make `Widget::on_event` return an `event::Status`Libravatar Héctor Ramón Jiménez2020-11-1220-70/+136
| |
| * Introduce `event::Status` in `iced_native`Libravatar Héctor Ramón Jiménez2020-11-112-2/+23
|/
* Merge pull request #610 from hecrj/improvement/update-dependenciesLibravatar Héctor Ramón2020-11-1112-47/+45
|\ | | | | Update dependencies
| * Use `directories-next` in `todos` exampleLibravatar Héctor Ramón Jiménez2020-11-112-2/+2
| |
| * Update `font-kit` dependency in `iced_graphics`Libravatar Héctor Ramón Jiménez2020-11-101-1/+1
| |
| * Update `lyon` dependency in `iced_graphics`Libravatar Héctor Ramón Jiménez2020-11-101-1/+1
| |
| * Update `glam` dependency in `iced_graphics`Libravatar Héctor Ramón Jiménez2020-11-101-1/+1
| |
| * Update `bytemuck` dependency in `iced_graphics`Libravatar Héctor Ramón Jiménez2020-11-102-8/+6
| |
| * Update `bytemuck` and remove `zerocopy` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2020-11-105-28/+28
| |
| * Update `bytemuck` dependency in `iced_glow`Libravatar Héctor Ramón Jiménez2020-11-101-1/+1
| |
| * Update `glow` and `glow_glyph` dependencies in `iced_glow`Libravatar Héctor Ramón Jiménez2020-11-101-2/+2
| |
| * Update `euclid` dependency in `iced_glow`Libravatar Héctor Ramón Jiménez2020-11-101-1/+1
| |
| * Update `directories` dependency in `todos` exampleLibravatar Héctor Ramón Jiménez2020-11-101-1/+1
| |
| * Update `env_logger` in `tour` and `integration` examplesLibravatar Héctor Ramón Jiménez2020-11-102-2/+2
| |
* | Merge pull request #608 from hecrj/remove-pane-grid-focusLibravatar Héctor Ramón2020-11-1011-297/+181
|\ \ | |/ |/| Improve flexibility of `PaneGrid`
| * Introduce `is_command_pressed` to `ModifiersState`Libravatar Héctor Ramón Jiménez2020-11-102-1/+21
| |
| * Remove unnecessary `move` in `PaneGrid::new`Libravatar Héctor Ramón Jiménez2020-11-101-1/+1
| |
| * Restore hotkeys in `pane_grid` exampleLibravatar Héctor Ramón Jiménez2020-11-109-45/+88
| | | | | | | | | | | | - Implement `subscription::events_with` - Remove `pane_grid::KeyPressEvent` - Return closest sibling in `pane_grid::State::close`