mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibWeb: Store the input image button's selected coordinates as integers
The spec has prose which states, e.g., "The x-component must be a valid integer".
This commit is contained in:
committed by
Andreas Kling
parent
3f3db34587
commit
7bee1c9897
@@ -105,8 +105,8 @@ public:
|
||||
WebIDL::ExceptionOr<void> set_size(unsigned value);
|
||||
|
||||
struct SelectedCoordinate {
|
||||
double x { 0.0 };
|
||||
double y { 0.0 };
|
||||
int x { 0 };
|
||||
int y { 0 };
|
||||
};
|
||||
SelectedCoordinate selected_coordinate() const { return m_selected_coordinate; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user