mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:40:05 +00:00
More removing braces around scalar initializers
This commit is contained in:
parent
94edeefee0
commit
3434db279e
1 changed files with 10 additions and 9 deletions
|
|
@ -675,15 +675,16 @@ void AlertLayer::Impl::HandleGeoLinesHover(
|
||||||
AlertLayer::Impl::LineData
|
AlertLayer::Impl::LineData
|
||||||
AlertLayer::Impl::CreateLineData(const settings::LineSettings& lineSettings)
|
AlertLayer::Impl::CreateLineData(const settings::LineSettings& lineSettings)
|
||||||
{
|
{
|
||||||
return LineData {.borderColor_ {lineSettings.GetBorderColorRgba32f()},
|
return LineData {
|
||||||
.highlightColor_ {lineSettings.GetHighlightColorRgba32f()},
|
.borderColor_ {lineSettings.GetBorderColorRgba32f()},
|
||||||
.lineColor_ {lineSettings.GetLineColorRgba32f()},
|
.highlightColor_ {lineSettings.GetHighlightColorRgba32f()},
|
||||||
.borderWidth_ {static_cast<std::size_t>(
|
.lineColor_ {lineSettings.GetLineColorRgba32f()},
|
||||||
lineSettings.border_width().GetValue())},
|
.borderWidth_ =
|
||||||
.highlightWidth_ {static_cast<std::size_t>(
|
static_cast<std::size_t>(lineSettings.border_width().GetValue()),
|
||||||
lineSettings.highlight_width().GetValue())},
|
.highlightWidth_ =
|
||||||
.lineWidth_ {static_cast<std::size_t>(
|
static_cast<std::size_t>(lineSettings.highlight_width().GetValue()),
|
||||||
lineSettings.line_width().GetValue())}};
|
.lineWidth_ =
|
||||||
|
static_cast<std::size_t>(lineSettings.line_width().GetValue())};
|
||||||
}
|
}
|
||||||
|
|
||||||
void AlertLayer::Impl::UpdateLineData()
|
void AlertLayer::Impl::UpdateLineData()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue