use canvas ruler font specification rather than get_font_for_style()
This commit is contained in:
parent
77caa045ec
commit
fec46824bd
@ -41,6 +41,7 @@
|
|||||||
#include "gtkmm2ext/gtk_ui.h"
|
#include "gtkmm2ext/gtk_ui.h"
|
||||||
#include "gtkmm2ext/keyboard.h"
|
#include "gtkmm2ext/keyboard.h"
|
||||||
|
|
||||||
|
#include "ardour_ui.h"
|
||||||
#include "editor.h"
|
#include "editor.h"
|
||||||
#include "editing.h"
|
#include "editing.h"
|
||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
@ -120,7 +121,7 @@ void
|
|||||||
Editor::initialize_rulers ()
|
Editor::initialize_rulers ()
|
||||||
{
|
{
|
||||||
ruler_grabbed_widget = 0;
|
ruler_grabbed_widget = 0;
|
||||||
Pango::FontDescription font = get_font_for_style ("editor_time_ruler");
|
Pango::FontDescription font (ARDOUR_UI::config()->get_canvasvar_RulerFont());
|
||||||
|
|
||||||
_timecode_metric = new TimecodeMetric (this);
|
_timecode_metric = new TimecodeMetric (this);
|
||||||
_bbt_metric = new BBTMetric (this);
|
_bbt_metric = new BBTMetric (this);
|
||||||
|
Loading…
Reference in New Issue
Block a user