mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 13:20:28 +00:00
Minor change: Make Splitter::getPosition() inlined
This commit is contained in:
parent
60602f78a8
commit
e6450877bb
@ -33,11 +33,6 @@ Splitter::Splitter(Type type, int align)
|
||||
initTheme();
|
||||
}
|
||||
|
||||
double Splitter::getPosition() const
|
||||
{
|
||||
return m_pos;
|
||||
}
|
||||
|
||||
void Splitter::setPosition(double pos)
|
||||
{
|
||||
if (m_type == ByPercentage)
|
||||
|
@ -19,7 +19,7 @@ namespace ui {
|
||||
|
||||
Splitter(Type type, int align);
|
||||
|
||||
double getPosition() const;
|
||||
double getPosition() const { return m_pos; }
|
||||
void setPosition(double pos);
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user