mirror of
https://github.com/groldsf/obsidian_check_plugin.git
synced 2026-07-22 05:37:48 +00:00
фикс изменения текста вместе с чекбоксом, ради интеграции с Tasks
This commit is contained in:
parent
2be5325eaf
commit
6e40414083
1 changed files with 0 additions and 2 deletions
|
|
@ -91,10 +91,8 @@ export class ContextFactory {
|
|||
|
||||
// если новая и старая строка чекбокс
|
||||
if (oldLine instanceof CheckboxLine && actualLine instanceof CheckboxLine) {
|
||||
// если текст остался старым
|
||||
// если изменилось состояние чекбокса
|
||||
if (
|
||||
oldLine.getText() === actualLine.getText() &&
|
||||
oldLine.getState() !== actualLine.getState()
|
||||
) {
|
||||
actualLine.setChange(true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue