xpadev-net / niconicomments

ニコニコ動画の公式プレイヤー互換の高パフォーマンスなコメント描画ライブラリ / High peformance High compatibility comment drawing library
https://xpadev-net.github.io/niconicomments/
MIT License
74 stars 5 forks source link

枠をつける独自コマンドを追加 #44

Closed Negima1072 closed 1 year ago

Negima1072 commented 1 year ago

やったこと

nico:waku:(color|color code)をコマンドに付与することで指定色の枠をコメントにつけることを可能に なお枠はshowCollisionで出てくる青枠と同じもの

できるようになること(ユーザ目線)

同上

動作確認

Niconicomments@v0.2.45 Chrome@110.0.5481.177 macOS Monterey@12.6.3

その他

コマンド実装はnico:strokeを、枠実装はshowCollisionをほとんどコッピったので多分大丈夫とは思います。

xpadev-net commented 1 year ago

LGTM ありがとうございます!