Skip to content

Commit

Permalink
renderer/gtk: Fix indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
aadcg committed Sep 11, 2024
1 parent d319402 commit 6c8268e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions source/renderer/gtk.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -698,16 +698,10 @@ Return nil when key must be discarded, e.g. for modifiers."
(:down 5)
(:left 6)
(:right 7)
(:smooth
(cond
((>= 0 (gdk:gdk-event-scroll-delta-y event))
4)
((< 0 (gdk:gdk-event-scroll-delta-y event))
5)
((>= 0 (gdk:gdk-event-scroll-delta-x event))
6)
((< 0 (gdk:gdk-event-scroll-delta-x event))
7)))))
(:smooth (cond ((>= 0 (gdk:gdk-event-scroll-delta-y event)) 4)
((< 0 (gdk:gdk-event-scroll-delta-y event)) 5)
((>= 0 (gdk:gdk-event-scroll-delta-x event)) 6)
((< 0 (gdk:gdk-event-scroll-delta-x event)) 7)))))
(key-string (format nil "button~s" button))
(modifiers (input-modifier-translator sender (scroll-event-modifiers event))))
(when key-string
Expand Down

0 comments on commit 6c8268e

Please sign in to comment.