mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
TextRuler::paint_ticks drops the tick rule's extra labelled step beyond each end where the ruler is cut to an extent (a page's x range), so no ticks show past the page. TextRuler and VerticalRuler fill the column with surface.sunken and the margins with surface.canvas: the margins were the lighter part (surface.sunken is #fff in ArtCraft light), the reverse of a word processor's ruler. Trials a_ruler_cut_to_an_extent_paints_no_tick_past_it and the_ruler_column_is_lighter_than_its_margins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>