History

Cosmetics

malc committed 6 years ago

Commit 4880e201 parent 1a3006b1 file · +4 −5Browse files

Unified · Split

main.ml+4−5
@@ -4,6 +4,7 @@ open Glutils;; · 3 unmodified lines
44 open Listview;;
55
66 module C = Ffi.C;;
7+
78 let selfexec = ref E.s;;
89 let ignoredoctitlte = ref false;;
910 let layouth = ref ~-1;;
@@ -800,9 +801,6 @@ let reload () = · 790 unmodified lines
800801 ;;
801802
802803 let scalecolor c = let c = c *. conf.colorscale in (c, c, c);;
803−let scalecolor2 (r, g, b) =
804− (r *. conf.colorscale, g *. conf.colorscale, b *. conf.colorscale);
805−;;
806804
807805 let docolumns columns =
808806 match columns with
@@ -4174,8 +4172,9 @@ let showrects = function · 3365 unmodified lines
41744172 ;;
41754173
41764174 let display () =
4177− GlDraw.color (scalecolor2 conf.bgcolor);
4178− GlClear.color (scalecolor2 conf.bgcolor);
4175+ let sc (r, g, b) = let s = conf.colorscale in (r *. s, g *. s, b *. s) in
4176+ GlDraw.color (sc conf.bgcolor);
4177+ GlClear.color (sc conf.bgcolor);
41794178 GlClear.clear [`color];
41804179 List.iter drawpage state.layout;
41814180 let rects =

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t