Skip to content

Commit

Permalink
fix(transwin): initial alpha-level
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Sep 21, 2022
1 parent da030eb commit e4a1fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transwin.el
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

(defun transwin--delta-frame-transparent (del-trans)
"Delta change the frame transparency by a certain percentage, DEL-TRANS."
(let ((alpha (frame-parameter nil transwin-parameter-alpha))
(let ((alpha (or (frame-parameter nil transwin-parameter-alpha) 100))
(current-transparency transwin-delta-alpha))

(setq current-transparency
Expand Down

0 comments on commit e4a1fe5

Please sign in to comment.