public void OnSizefChange() { if (!EnableValueChange) { return; } float SizefTmp = 0; if (!float.TryParse(Sizef.text, out SizefTmp)) { SizefImg.color = InvalidColor; return; } if (Mode == Lanotalium.Editor.ComponentBasicMode.Work) { foreach (Lanotalium.Chart.LanotaTapNote Tap in OperationManager.SelectedTapNote) { OperationManager.SetTapNoteSizef(Tap, SizefTmp); } foreach (Lanotalium.Chart.LanotaHoldNote Hold in OperationManager.SelectedHoldNote) { OperationManager.SetHoldNoteSizef(Hold, SizefTmp); } } SizefImg.color = ValidColor; }