mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
add support for 1.5 pixel ratio
This commit is contained in:
@ -82,7 +82,7 @@ module Discourse
|
|||||||
@anonymous_top_menu_items ||= Discourse.anonymous_filters + [:category, :categories, :top]
|
@anonymous_top_menu_items ||= Discourse.anonymous_filters + [:category, :categories, :top]
|
||||||
end
|
end
|
||||||
|
|
||||||
PIXEL_RATIOS ||= [1, 2, 3]
|
PIXEL_RATIOS ||= [1, 1.5, 2, 3]
|
||||||
|
|
||||||
def self.avatar_sizes
|
def self.avatar_sizes
|
||||||
# TODO: should cache these when we get a notification system for site settings
|
# TODO: should cache these when we get a notification system for site settings
|
||||||
|
Reference in New Issue
Block a user