Repo // Better handling with tooltip colors.
This commit is contained in:
parent
6060cc4fbf
commit
751824feef
|
@ -117,6 +117,7 @@ public class TooltipUI: NSWindowController {
|
|||
}
|
||||
|
||||
public func hide() {
|
||||
setColor(state: .normal)
|
||||
window?.orderOut(nil)
|
||||
}
|
||||
|
||||
|
|
|
@ -62,9 +62,7 @@ extension SessionCtl {
|
|||
do {
|
||||
tooltipInstance.hide()
|
||||
tooltipInstance = .init()
|
||||
if state.type == .ofMarking {
|
||||
tooltipInstance.setColor(state: state.data.tooltipColorState)
|
||||
}
|
||||
tooltipInstance.setColor(state: state.data.tooltipColorState)
|
||||
}
|
||||
// 再設定其文字顯示內容並顯示。
|
||||
tooltipInstance.show(
|
||||
|
|
Loading…
Reference in New Issue