public void ChangeItemFontAndColor(ListViewItem item, Color foreColor, Font fnt)
{
- if (item.ForeColor == foreColor && item.Font == fnt)
+ if (item.ForeColor == foreColor && item.Font.Equals(fnt))
return;
item.ForeColor = foreColor;
==== Ver 2.4.1-dev(2019/xx/xx)
* FIX: 「タブを一覧の下に表示する」を無効にすると起動時にエラーが発生する不具合を修正 (thx @mulsys!)
+ * FIX: 発言一覧の選択状態が正しく描画されない不具合を修正
==== Ver 2.4.0(2019/09/24)
* NEW: Twemoji 12.0.0 に対応しました
private readonly TimelineScheduler timelineScheduler = new TimelineScheduler();
private ThrottlingTimer RefreshThrottlingTimer = null!;
- private ThrottlingTimer colorizeDebouncer = null!;
private ThrottlingTimer selectionDebouncer = null!;
private ThrottlingTimer saveConfigDebouncer = null!;
var streamingRefreshInterval = TimeSpan.FromSeconds(SettingManager.Common.UserstreamPeriod);
this.RefreshThrottlingTimer = ThrottlingTimer.Throttle(() => this.InvokeAsync(() => this.RefreshTimeline()), streamingRefreshInterval);
- this.colorizeDebouncer = ThrottlingTimer.Debounce(() => this.InvokeAsync(() => this.ColorizeList()), TimeSpan.FromMilliseconds(100), leading: true);
this.selectionDebouncer = ThrottlingTimer.Debounce(() => this.InvokeAsync(() => this.UpdateSelectedPost()), TimeSpan.FromMilliseconds(100), leading: true);
this.saveConfigDebouncer = ThrottlingTimer.Debounce(() => this.InvokeAsync(() => this.SaveConfigsAll(ifModified: true)), TimeSpan.FromSeconds(1));
//キャッシュの書き換え
ChangeCacheStyleRead(true, index); // 既読へ(フォント、文字色)
- this.colorizeDebouncer.Call();
+ this.ColorizeList();
this.selectionDebouncer.Call();
}
}
else
{
+ DList.Update();
if (SettingManager.Common.UseUnreadStyle)
DList.ChangeItemFontAndColor(Item, cl, fnt);
else