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