1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:03:08 +08:00

Fix CI issues

This commit is contained in:
Dean Herbert 2019-05-12 22:53:12 +09:00
parent 41e13aef23
commit 487a56549e
2 changed files with 6 additions and 5 deletions

View File

@ -70,7 +70,8 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
public float BorderSize public float BorderSize
{ {
get => path.BorderSize; get => path.BorderSize;
set { set
{
if (path.BorderSize == value) if (path.BorderSize == value)
return; return;
@ -154,7 +155,8 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
public float BorderSize public float BorderSize
{ {
get => borderSize; get => borderSize;
set { set
{
if (borderSize == value) if (borderSize == value)
return; return;

View File

@ -1,9 +1,7 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps.Formats; using osu.Game.Beatmaps.Formats;
using System;
using System.Globalization;
namespace osu.Game.Skinning namespace osu.Game.Skinning
{ {
@ -36,6 +34,7 @@ namespace osu.Game.Skinning
case @"CursorExpand": case @"CursorExpand":
skin.CursorExpand = pair.Value != "0"; skin.CursorExpand = pair.Value != "0";
break; break;
case @"SliderBorderSize": case @"SliderBorderSize":
skin.SliderBorderSize = Parsing.ParseFloat(pair.Value); skin.SliderBorderSize = Parsing.ParseFloat(pair.Value);
break; break;