Skip to content

Commit 91f1ad9

Browse files
Fix short info (bad update merge) (#247)
1 parent dda0913 commit 91f1ad9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ProfileView"
22
uuid = "c46f51b8-102a-5cf2-8d2c-8597cb0e0da7"
33
author = ["Tim Holy <[email protected]>"]
4-
version = "1.10.0"
4+
version = "1.10.1"
55

66
[deps]
77
Cairo = "159f3aea-2a34-519c-b102-8c37f9878175"

src/ProfileView.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ function viewprof_func(fcolor, c, g, fontsize, tb_items, graphtype)
428428
Cairo.set_font_size(ctx, min(row_h, fontsize))
429429
Cairo.select_font_face(ctx, "sans-serif", Cairo.FONT_SLANT_NORMAL, Cairo.FONT_WEIGHT_NORMAL)
430430

431-
str = strip(string(sf.func, " ", basename(string(sf.file)), ":", sf.line))
431+
str = short_info_str(sf)
432432
_, _, tbb_width, tbb_height, _, _ = Cairo.text_extents(ctx, str)
433433

434434
# Define clipping region to constrain text

0 commit comments

Comments
 (0)