Skip to content

Commit

Permalink
Fix wrong process sequence in Composer.init() (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShikiSuen authored May 14, 2022
1 parent ecd80e3 commit a65635d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Tekkon/TekkonSyllableComposer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ public struct Tekkon {
/// 初期化一個新的注拼槽。可以藉由 @input 參數指定初期已經傳入的按鍵訊號。
/// 還可以在初期化時藉由 @arrange 參數來指定注音排列(預設為「.ofDachen」大千佈局)。
public init(_ input: String = "", arrange parser: MandarinParser = .ofDachen) {
receiveKey(fromString: input)
ensureParser(arrange: parser)
receiveKey(fromString: input)
}

/// 清除自身的內容,就是將聲介韻調全部清空。
Expand Down

0 comments on commit a65635d

Please sign in to comment.