mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
LibWeb: Make DOMRectReadOnly use double instead of float
This commit is contained in:
parent
2e1d6f624d
commit
e4270bc01d
2 changed files with 2 additions and 1 deletions
|
@ -1038,6 +1038,7 @@ private:
|
|||
|
||||
using IntRect = Rect<int>;
|
||||
using FloatRect = Rect<float>;
|
||||
using DoubleRect = Rect<double>;
|
||||
|
||||
[[nodiscard]] ALWAYS_INLINE IntRect enclosing_int_rect(FloatRect const& float_rect)
|
||||
{
|
||||
|
|
|
@ -45,6 +45,6 @@ protected:
|
|||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
|
||||
Gfx::FloatRect m_rect;
|
||||
Gfx::DoubleRect m_rect;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue