summaryrefslogtreecommitdiff
path: root/lisp/tab-bar.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2023-09-19 20:44:16 +0300
committerJuri Linkov <juri@linkov.net>2023-09-19 20:44:16 +0300
commit3c14cab797752e78c21ac2a69a7e854276802c22 (patch)
tree2d054280a66d259a6d08cc093c7b1c5bc34d0f84 /lisp/tab-bar.el
parentb03338c70d81f2cba9c8a0b4fefbf83ef7a346e0 (diff)
downloademacs-3c14cab797752e78c21ac2a69a7e854276802c22.tar.gz
; * tab-bar, tab-line: Use integer 1 instead of float for height em.
Diffstat (limited to 'lisp/tab-bar.el')
-rw-r--r--lisp/tab-bar.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index 7484f5b79e4..e4379b97d8b 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -161,7 +161,7 @@ For easier selection of tabs by their numbers, consider customizing
(define-icon tab-bar-new nil
`((image "symbols/plus_16.svg" "tabs/new.xpm"
:face shadow
- :height (1.0 . em)
+ :height (1 . em)
:margin ,tab-bar-button-margin
:ascent center)
;; (emoji "➕")
@@ -176,7 +176,7 @@ For easier selection of tabs by their numbers, consider customizing
(define-icon tab-bar-close nil
`((image "symbols/cross_16.svg" "tabs/close.xpm"
:face shadow
- :height (1.0 . em)
+ :height (1 . em)
:margin ,tab-bar-button-margin
:ascent center)
;; (emoji " ❌")
@@ -191,7 +191,7 @@ For easier selection of tabs by their numbers, consider customizing
(unless (iconp 'tab-bar-menu-bar)
(define-icon tab-bar-menu-bar nil
`((image "symbols/menu_16.svg"
- :height (1.0 . em)
+ :height (1 . em)
:margin ,tab-bar-button-margin
:ascent center)
;; (emoji "🍔")
@@ -2282,7 +2282,7 @@ and can restore them."
(unless (iconp 'tab-bar-back)
(define-icon tab-bar-back nil
`((image "symbols/chevron_left_16.svg" "tabs/left-arrow.xpm"
- :height (1.0 . em)
+ :height (1 . em)
:margin ,tab-bar-button-margin
:ascent center)
(text " < "))
@@ -2293,7 +2293,7 @@ and can restore them."
(unless (iconp 'tab-bar-forward)
(define-icon tab-bar-forward nil
`((image "symbols/chevron_right_16.svg" "tabs/right-arrow.xpm"
- :height (1.0 . em)
+ :height (1 . em)
:margin ,tab-bar-button-margin
:ascent center)
(text " > "))