Skip to content

Commit defaf8e

Browse files
authored
Fix copy-paste
1 parent 85a53ea commit defaf8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chart/generator/marker.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Marker::Marker(const Options &options,
9696

9797
spacing.y = (!horizontal || lineOrCircle
9898
|| (channels.at(ChannelId::x).isDimension()
99-
&& channels.at(ChannelId::y).hasDimension()
99+
&& channels.at(ChannelId::x).hasDimension()
100100
&& options.geometry == ShapeType::rectangle
101101
&& options.align != Base::Align::Type::stretch
102102
&& rectangleSpacing))
@@ -234,4 +234,4 @@ bool Marker::Label::operator==(const Label &other) const
234234
{
235235
return value == other.value && indexStr == other.indexStr;
236236
}
237-
}
237+
}

0 commit comments

Comments
 (0)